rpc_pipefs.c: get rid of f_dentry
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 31 Oct 2014 04:36:30 +0000 (00:36 -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/nfs/blocklayout/rpc_pipefs.c

index e966c023b1b74df4161461a7cad843e6b9bcfbda..2a15fa43788071a8f606c087a6d3ff3ab433fa14 100644 (file)
@@ -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))