dnotify: move dir_notify_enable declaration
Subsystems (3)
PATCH 1/1 dnotify: move dir_notify_enable declaration
Move dir_notify_enable declaration to where it belongs -- dnotify.h .
Signed-off-by Alexey Dobriyan <[email protected]>
---
include/linux/dnotify.h | 1 + include/linux/fs.h | 3 --- kernel/sysctl.c | 1 + 3 files changed, 2 insertions(+), 3 deletions(-)
include/linux/dnotify.h +1 -0
@@ -28,6 +28,7 @@ struct dnotify_struct { FS_CREATE | FS_DN_RENAME |\ FS_MOVED_FROM | FS_MOVED_TO) +extern int dir_notify_enable;extern void dnotify_flush (struct file *,fl_owner_t );extern int fcntl_dirnotify (int ,struct file *,unsigned long );
include/linux/fs.h +0 -3
@@ -404,9 +404,6 @@ extern int get_max_files(void);extern int sysctl_nr_open;extern struct inodes_stat_t inodes_stat;extern int leases_enable, lease_break_time; -#ifdef CONFIG_DNOTIFY -extern int dir_notify_enable; -#endif struct buffer_head ; typedef int (get_block_t)(struct inode *inode, sector_t iblock,
kernel/sysctl.c +1 -0
@@ -42,6 +42,7 @@#include <linux/times.h> #include <linux/limits.h> #include <linux/dcache.h> +#include <linux/dnotify.h> #include <linux/syscalls.h> #include <linux/vmstat.h> #include <linux/nfs_fs.h>