mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
lockd: get rid of ->f_path.dentry->d_sb
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
3aa3377fbc
commit
30e46aba8f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue