From: Al Viro Date: Fri, 31 Oct 2014 04:36:30 +0000 (-0400) Subject: rpc_pipefs.c: get rid of f_dentry X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=32a59234ae96161b2c91f39801f81c471933d78b;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git rpc_pipefs.c: get rid of f_dentry Signed-off-by: Al Viro --- diff --git a/fs/nfs/blocklayout/rpc_pipefs.c b/fs/nfs/blocklayout/rpc_pipefs.c index e966c023b1b7..2a15fa437880 100644 --- a/fs/nfs/blocklayout/rpc_pipefs.c +++ b/fs/nfs/blocklayout/rpc_pipefs.c @@ -109,7 +109,7 @@ out: static ssize_t bl_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) { - struct nfs_net *nn = net_generic(filp->f_dentry->d_sb->s_fs_info, + struct nfs_net *nn = net_generic(file_inode(filp)->i_sb->s_fs_info, nfs_net_id); if (mlen != sizeof (struct bl_dev_msg))