diff options
Diffstat (limited to 'fs/inotify_user.c')
-rw-r--r-- | fs/inotify_user.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/inotify_user.c b/fs/inotify_user.c index e1956e6f116c..55f6da55b7c0 100644 --- a/fs/inotify_user.c +++ b/fs/inotify_user.c | |||
@@ -570,9 +570,9 @@ asmlinkage long sys_inotify_init(void) | |||
570 | dev->ih = ih; | 570 | dev->ih = ih; |
571 | 571 | ||
572 | filp->f_op = &inotify_fops; | 572 | filp->f_op = &inotify_fops; |
573 | filp->f_vfsmnt = mntget(inotify_mnt); | 573 | filp->f_path.mnt = mntget(inotify_mnt); |
574 | filp->f_dentry = dget(inotify_mnt->mnt_root); | 574 | filp->f_path.dentry = dget(inotify_mnt->mnt_root); |
575 | filp->f_mapping = filp->f_dentry->d_inode->i_mapping; | 575 | filp->f_mapping = filp->f_path.dentry->d_inode->i_mapping; |
576 | filp->f_mode = FMODE_READ; | 576 | filp->f_mode = FMODE_READ; |
577 | filp->f_flags = O_RDONLY; | 577 | filp->f_flags = O_RDONLY; |
578 | filp->private_data = dev; | 578 | filp->private_data = dev; |