mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
vfs: prefer ->dentry->d_sb to ->mnt->mnt_sb
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
ece2ccb668
commit
d8c9584ea2
14 changed files with 27 additions and 25 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue