summaryrefslogtreecommitdiff
path: root/fs/nfs/blocklayout
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-10-31 07:36:30 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2014-11-19 21:01:23 +0300
commit32a59234ae96161b2c91f39801f81c471933d78b (patch)
treedcfb2b589cf9840844b379c62d09a73af4cc4dd4 /fs/nfs/blocklayout
parent3c981bfc57040c0016cfbfa6e9b312571eda2533 (diff)
downloadlinux-32a59234ae96161b2c91f39801f81c471933d78b.tar.xz
rpc_pipefs.c: get rid of f_dentry
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfs/blocklayout')
-rw-r--r--fs/nfs/blocklayout/rpc_pipefs.c2
1 files changed, 1 insertions, 1 deletions
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))