summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-10-31 00:43:30 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-11-19 13:01:24 -0500
commit30e46aba8f1010b03178f04c0c56be299c063df2 (patch)
tree08535bda938d250010dc79bf59bb031fb51c4adc /fs
parent3aa3377fbc3bd31851c4f98b09e20fc5d48814af (diff)
downloadlinux-30e46aba8f1010b03178f04c0c56be299c063df2.tar.gz
linux-30e46aba8f1010b03178f04c0c56be299c063df2.tar.bz2
linux-30e46aba8f1010b03178f04c0c56be299c063df2.zip
lockd: get rid of ->f_path.dentry->d_sb
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/lockd/svcsubs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/svcsubs.c b/fs/lockd/svcsubs.c
index b6f3b84b6e99..d12ff4e2dbe7 100644
--- a/fs/lockd/svcsubs.c
+++ b/fs/lockd/svcsubs.c
@@ -408,7 +408,7 @@ nlmsvc_match_sb(void *datap, struct nlm_file *file)
{
struct super_block *sb = datap;
- return sb == file->f_file->f_path.dentry->d_sb;
+ return sb == file_inode(file->f_file)->i_sb;
}
/**