[PATCH] nfs: change uses of f_{dentry,vfsmnt} to use f_path
[safe/jmp/linux-2.6] / fs / nfs / proc.c
index 10f5e80..560536a 100644 (file)
@@ -651,7 +651,7 @@ nfs_proc_commit_setup(struct nfs_write_data *data, int how)
 static int
 nfs_proc_lock(struct file *filp, int cmd, struct file_lock *fl)
 {
-       return nlmclnt_proc(filp->f_dentry->d_inode, cmd, fl);
+       return nlmclnt_proc(filp->f_path.dentry->d_inode, cmd, fl);
 }