Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e006701 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Eric Paris
Browse files

dnotify: move dir_notify_enable declaration



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

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent 59b0df21
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);

+0 −3
Original line number Diff line number Diff line
@@ -410,9 +410,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,
+1 −0
Original line number Diff line number Diff line
@@ -44,6 +44,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>