commit | d8c9584ea2a92879f471fd3a2be3af6c534fb035 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Dec 07 18:16:57 2011 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Jan 06 23:16:53 2012 -0500 |
tree | 3541b9c6228f820bdc65e4875156eb27b1c91cb1 | |
parent | ece2ccb668046610189d88d6aaf05aeb09c988a1 [diff] |
vfs: prefer ->dentry->d_sb to ->mnt->mnt_sb Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/lockd/svcsubs.c b/fs/lockd/svcsubs.c index 1ca0679..2240d38 100644 --- a/fs/lockd/svcsubs.c +++ b/fs/lockd/svcsubs.c
@@ -403,7 +403,7 @@ { struct super_block *sb = datap; - return sb == file->f_file->f_path.mnt->mnt_sb; + return sb == file->f_file->f_path.dentry->d_sb; } /**