]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nfs/idmap.c
[PATCH] NFS: Fix races in nfs_revalidate_mapping()
[linux-2.6-omap-h63xx.git] / fs / nfs / idmap.c
index 82ad7110a1c0b75458ff84aeffdeb2c4423251ad..9d4a6b2d199672c67388262b808a67adef72e433 100644 (file)
@@ -377,7 +377,7 @@ idmap_pipe_upcall(struct file *filp, struct rpc_pipe_msg *msg,
 static ssize_t
 idmap_pipe_downcall(struct file *filp, const char __user *src, size_t mlen)
 {
-        struct rpc_inode *rpci = RPC_I(filp->f_dentry->d_inode);
+        struct rpc_inode *rpci = RPC_I(filp->f_path.dentry->d_inode);
        struct idmap *idmap = (struct idmap *)rpci->private;
        struct idmap_msg im_in, *im = &idmap->idmap_im;
        struct idmap_hashtable *h;