diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-31 08:22:04 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-19 21:01:25 +0300 |
commit | b583043e99bc6d91e98fae32bd9eff6a5958240a (patch) | |
tree | 8f2f9a4d28ae16c7d452808ff400bb1f31fb09c8 /security/commoncap.c | |
parent | 30e46aba8f1010b03178f04c0c56be299c063df2 (diff) | |
download | linux-b583043e99bc6d91e98fae32bd9eff6a5958240a.tar.xz |
kill f_dentry uses
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/commoncap.c')
-rw-r--r-- | security/commoncap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/commoncap.c b/security/commoncap.c index bab0611afc1e..2915d8503054 100644 --- a/security/commoncap.c +++ b/security/commoncap.c @@ -446,7 +446,7 @@ static int get_file_caps(struct linux_binprm *bprm, bool *effective, bool *has_c if (bprm->file->f_path.mnt->mnt_flags & MNT_NOSUID) return 0; - dentry = dget(bprm->file->f_dentry); + dentry = dget(bprm->file->f_path.dentry); rc = get_vfs_caps_from_disk(dentry, &vcaps); if (rc < 0) { |