hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/include/linux/pipe_fs_i.h
....@@ -254,18 +254,14 @@
254254
255255 extern const struct pipe_buf_operations nosteal_pipe_buf_ops;
256256
257
-#ifdef CONFIG_WATCH_QUEUE
258257 unsigned long account_pipe_buffers(struct user_struct *user,
259258 unsigned long old, unsigned long new);
260259 bool too_many_pipe_buffers_soft(unsigned long user_bufs);
261260 bool too_many_pipe_buffers_hard(unsigned long user_bufs);
262261 bool pipe_is_unprivileged_user(void);
263
-#endif
264262
265263 /* for F_SETPIPE_SZ and F_GETPIPE_SZ */
266
-#ifdef CONFIG_WATCH_QUEUE
267264 int pipe_resize_ring(struct pipe_inode_info *pipe, unsigned int nr_slots);
268
-#endif
269265 long pipe_fcntl(struct file *, unsigned int, unsigned long arg);
270266 struct pipe_inode_info *get_pipe_info(struct file *file, bool for_splice);
271267