diff options
Diffstat (limited to 'security/apparmor/file.c')
| -rw-r--r-- | security/apparmor/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/file.c b/security/apparmor/file.c index deffd278d6fd..c75820402878 100644 --- a/security/apparmor/file.c +++ b/security/apparmor/file.c @@ -638,7 +638,7 @@ int aa_file_perm(const char *op, const struct cred *subj_cred, flabel = aa_get_newest_label(flabel); rcu_read_unlock(); - if (file->f_path.mnt && path_mediated_fs(file->f_path.dentry)) + if (path_mediated_fs(file->f_path.dentry)) error = __file_path_perm(op, subj_cred, label, flabel, file, request, denied, in_atomic); |