diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 302ec20838ca..c9bf3746a9fb 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -474,6 +474,11 @@ struct inode { | |||
474 | struct dnotify_struct *i_dnotify; /* for directory notifications */ | 474 | struct dnotify_struct *i_dnotify; /* for directory notifications */ |
475 | #endif | 475 | #endif |
476 | 476 | ||
477 | #ifdef CONFIG_INOTIFY | ||
478 | struct list_head inotify_watches; /* watches on this inode */ | ||
479 | struct semaphore inotify_sem; /* protects the watches list */ | ||
480 | #endif | ||
481 | |||
477 | unsigned long i_state; | 482 | unsigned long i_state; |
478 | unsigned long dirtied_when; /* jiffies of first dirtying */ | 483 | unsigned long dirtied_when; /* jiffies of first dirtying */ |
479 | 484 | ||
@@ -1393,7 +1398,6 @@ extern void emergency_remount(void); | |||
1393 | extern int do_remount_sb(struct super_block *sb, int flags, | 1398 | extern int do_remount_sb(struct super_block *sb, int flags, |
1394 | void *data, int force); | 1399 | void *data, int force); |
1395 | extern sector_t bmap(struct inode *, sector_t); | 1400 | extern sector_t bmap(struct inode *, sector_t); |
1396 | extern int setattr_mask(unsigned int); | ||
1397 | extern int notify_change(struct dentry *, struct iattr *); | 1401 | extern int notify_change(struct dentry *, struct iattr *); |
1398 | extern int permission(struct inode *, int, struct nameidata *); | 1402 | extern int permission(struct inode *, int, struct nameidata *); |
1399 | extern int generic_permission(struct inode *, int, | 1403 | extern int generic_permission(struct inode *, int, |