diff options
Diffstat (limited to 'include/linux/fsnotify.h')
| -rw-r--r-- | include/linux/fsnotify.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fsnotify.h b/include/linux/fsnotify.h index d4f219ffaa..dfc4e4f68d 100644 --- a/include/linux/fsnotify.h +++ b/include/linux/fsnotify.h | |||
| @@ -164,7 +164,7 @@ static inline void fsnotify_open(struct dentry *dentry) | |||
| 164 | */ | 164 | */ |
| 165 | static inline void fsnotify_close(struct file *file) | 165 | static inline void fsnotify_close(struct file *file) |
| 166 | { | 166 | { |
| 167 | struct dentry *dentry = file->f_dentry; | 167 | struct dentry *dentry = file->f_path.dentry; |
| 168 | struct inode *inode = dentry->d_inode; | 168 | struct inode *inode = dentry->d_inode; |
| 169 | const char *name = dentry->d_name.name; | 169 | const char *name = dentry->d_name.name; |
| 170 | mode_t mode = file->f_mode; | 170 | mode_t mode = file->f_mode; |
