diff options
| author | Robert Love <rml@novell.com> | 2004-10-28 23:27:45 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-10-28 23:27:45 -0700 |
| commit | 8de0e8bca3f16efd75684a1b7cc287dcd6ac3b8f (patch) | |
| tree | ff678895482e6d8adaf633ad77a50878c4032eb4 /include/linux/fs.h | |
| parent | 184372a40182086dd8eb9a6feb2f72516541268c (diff) | |
[PATCH] make dnotify a configure-time option
make dnotify configurable, via CONFIG_DNOTIFY. CONFIG_EMBEDDED is required
for disabling dnotify.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 634dd30f9b37..7bbe6e3838dc 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -61,7 +61,11 @@ struct inodes_stat_t { }; extern struct inodes_stat_t inodes_stat; -extern int leases_enable, dir_notify_enable, lease_break_time; +extern int leases_enable, lease_break_time; + +#ifdef CONFIG_DNOTIFY +extern int dir_notify_enable; +#endif #define NR_FILE 8192 /* this can well be larger on a larger system */ #define NR_RESERVED_FILES 10 /* reserved for root */ @@ -464,8 +468,10 @@ struct inode { __u32 i_generation; +#ifdef CONFIG_DNOTIFY unsigned long i_dnotify_mask; /* Directory notify events */ struct dnotify_struct *i_dnotify; /* for directory notifications */ +#endif unsigned long i_state; unsigned long dirtied_when; /* jiffies of first dirtying */ |
