kill f_vfsmnt
[cascardo/linux.git] / fs / ocfs2 / mmap.c
index 07c585b..10d66c7 100644 (file)
@@ -181,7 +181,7 @@ int ocfs2_mmap(struct file *file, struct vm_area_struct *vma)
        int ret = 0, lock_level = 0;
 
        ret = ocfs2_inode_lock_atime(file_inode(file),
-                                   file->f_vfsmnt, &lock_level);
+                                   file->f_path.mnt, &lock_level);
        if (ret < 0) {
                mlog_errno(ret);
                goto out;