Skip to content

Commit

Permalink
lockd: get rid of ->f_path.dentry->d_sb
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Nov 19, 2014
1 parent 3aa3377 commit 30e46ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/lockd/svcsubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 30e46ab

Please sign in to comment.