diff options
author | 2013-01-24 02:21:54 -0500 | |
---|---|---|
committer | 2013-02-26 02:46:10 -0500 | |
commit | 182be684784334598eee1d90274e7f7aa0063616 (patch) | |
tree | 7b4d555a24fbbe9b22086f31246d1aa6df5e5330 /security | |
parent | vfs: kill FS_REVAL_DOT by adding a d_weak_revalidate dentry op (diff) | |
download | linux-182be684784334598eee1d90274e7f7aa0063616.tar.gz linux-182be684784334598eee1d90274e7f7aa0063616.tar.bz2 linux-182be684784334598eee1d90274e7f7aa0063616.zip |
kill f_vfsmnt
very few users left...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security')
-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 7ee08c756d6b..c44b6fe6648e 100644 --- a/security/commoncap.c +++ b/security/commoncap.c @@ -440,7 +440,7 @@ static int get_file_caps(struct linux_binprm *bprm, bool *effective, bool *has_c if (!file_caps_enabled) return 0; - if (bprm->file->f_vfsmnt->mnt_flags & MNT_NOSUID) + if (bprm->file->f_path.mnt->mnt_flags & MNT_NOSUID) return 0; dentry = dget(bprm->file->f_dentry); |