vfs: prefer ->dentry->d_sb to ->mnt->mnt_sb

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2011-12-07 18:16:57 -05:00
commit d8c9584ea2
14 changed files with 27 additions and 25 deletions

View file

@ -403,7 +403,7 @@ nlmsvc_match_sb(void *datap, struct nlm_file *file)
{
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;
}
/**