]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nfs/proc.c
x86: make spurious fault handler aware of large mappings
[linux-2.6-omap-h63xx.git] / fs / nfs / proc.c
index c9f46a24e75c7fd8d0011d8e87488ad2101da7d1..5ccf7faee19cd17cc63a3506f91990e6c8b5b17f 100644 (file)
@@ -593,7 +593,9 @@ nfs_proc_commit_setup(struct nfs_write_data *data, struct rpc_message *msg)
 static int
 nfs_proc_lock(struct file *filp, int cmd, struct file_lock *fl)
 {
-       return nlmclnt_proc(filp->f_path.dentry->d_inode, cmd, fl);
+       struct inode *inode = filp->f_path.dentry->d_inode;
+
+       return nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl);
 }