提交 30e46aba 编写于 作者: A Al Viro

lockd: get rid of ->f_path.dentry->d_sb

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 3aa3377f
...@@ -408,7 +408,7 @@ nlmsvc_match_sb(void *datap, struct nlm_file *file) ...@@ -408,7 +408,7 @@ nlmsvc_match_sb(void *datap, struct nlm_file *file)
{ {
struct super_block *sb = datap; struct super_block *sb = datap;
return sb == file->f_file->f_path.dentry->d_sb; return sb == file_inode(file->f_file)->i_sb;
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册