Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dnotify: move dir_notify_enable declaration

Move dir_notify_enable declaration to where it belongs -- dnotify.h .

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Eric Paris <eparis@redhat.com>

authored by

Alexey Dobriyan and committed by
Eric Paris
6e006701 59b0df21

+2 -3
+1
include/linux/dnotify.h
··· 28 28 FS_CREATE | FS_DN_RENAME |\ 29 29 FS_MOVED_FROM | FS_MOVED_TO) 30 30 31 + extern int dir_notify_enable; 31 32 extern void dnotify_flush(struct file *, fl_owner_t); 32 33 extern int fcntl_dirnotify(int, struct file *, unsigned long); 33 34
-3
include/linux/fs.h
··· 410 410 extern int sysctl_nr_open; 411 411 extern struct inodes_stat_t inodes_stat; 412 412 extern int leases_enable, lease_break_time; 413 - #ifdef CONFIG_DNOTIFY 414 - extern int dir_notify_enable; 415 - #endif 416 413 417 414 struct buffer_head; 418 415 typedef int (get_block_t)(struct inode *inode, sector_t iblock,
+1
kernel/sysctl.c
··· 44 44 #include <linux/times.h> 45 45 #include <linux/limits.h> 46 46 #include <linux/dcache.h> 47 + #include <linux/dnotify.h> 47 48 #include <linux/syscalls.h> 48 49 #include <linux/vmstat.h> 49 50 #include <linux/nfs_fs.h>