From: Al Viro Date: Fri, 31 Oct 2014 04:41:12 +0000 (-0400) Subject: nfsd: get rid of ->f_dentry X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ef8a1a10e95beaad0ce77544ae083990ef9fb2d7;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git nfsd: get rid of ->f_dentry Signed-off-by: Al Viro --- 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;