]> err.no Git - linux-2.6/blobdiff - fs/nfs/nfs3proc.c
Merge branch 'for_paulus' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerp...
[linux-2.6] / fs / nfs / nfs3proc.c
index 510ae524f3fd7dfd3e8e5fbd91f1b166964126c1..acd8fe9762d3fc7abd6c626439dc6cb50105a0b7 100644 (file)
@@ -841,7 +841,7 @@ static void nfs3_proc_commit_setup(struct nfs_write_data *data, int how)
 static int
 nfs3_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);
 }
 
 const struct nfs_rpc_ops nfs_v3_clientops = {