nfsd: get rid of ->f_dentry
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 31 Oct 2014 04:41:12 +0000 (00:41 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 19 Nov 2014 18:01:23 +0000 (13:01 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfsd/nfs4recover.c

index 0e71a0dd58cae43aa0b7780bef44348e56d78504..cc6a76072009262475c656307e454bb7ad6e44a1 100644 (file)
@@ -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;