commit | b583043e99bc6d91e98fae32bd9eff6a5958240a | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Oct 31 01:22:04 2014 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Nov 19 13:01:25 2014 -0500 |
tree | 8f2f9a4d28ae16c7d452808ff400bb1f31fb09c8 | |
parent | 30e46aba8f1010b03178f04c0c56be299c063df2 [diff] [blame] |
kill f_dentry uses Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/security/commoncap.c b/security/commoncap.c index bab0611..2915d85 100644 --- a/security/commoncap.c +++ b/security/commoncap.c
@@ -446,7 +446,7 @@ 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) {