summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-10-31 05:41:12 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2014-11-19 19:01:23 +0100
commitef8a1a10e95beaad0ce77544ae083990ef9fb2d7 (patch)
treeb66eeb9de13223a15f395d966b7e8bf39c497831
parentrpc_pipefs.c: get rid of f_dentry (diff)
downloadlinux-ef8a1a10e95beaad0ce77544ae083990ef9fb2d7.tar.xz
linux-ef8a1a10e95beaad0ce77544ae083990ef9fb2d7.zip
nfsd: get rid of ->f_dentry
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/nfsd/nfs4recover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4recover.c b/fs/nfsd/nfs4recover.c
index 0e71a0dd58ca..cc6a76072009 100644
--- a/fs/nfsd/nfs4recover.c
+++ b/fs/nfsd/nfs4recover.c
@@ -705,7 +705,7 @@ cld_pipe_downcall(struct file *filp, const char __user *src, size_t mlen)
struct cld_upcall *tmp, *cup;
struct cld_msg __user *cmsg = (struct cld_msg __user *)src;
uint32_t xid;
- struct nfsd_net *nn = net_generic(filp->f_dentry->d_sb->s_fs_info,
+ struct nfsd_net *nn = net_generic(file_inode(filp)->i_sb->s_fs_info,
nfsd_net_id);
struct cld_net *cn = nn->cld_net;