Message ID | 560D75A7.5010709@canonical.com |
---|---|
State | New |
Headers | show |
Ack'ed and applied to Precise master-next branch. Cheers, -- Luís
diff --git a/security/apparmor/mount.c b/security/apparmor/mount.c index 872d92d..f7d25f3 100644 --- a/security/apparmor/mount.c +++ b/security/apparmor/mount.c @@ -331,7 +331,7 @@ static int match_mnt(struct aa_profile *profile, const char *mntpnt, static int path_flags(struct aa_profile *profile, struct path *path) { return profile->path_flags | - S_ISDIR(path->dentry->d_inode->i_mode) ? PATH_IS_DIR : 0; + (S_ISDIR(path->dentry->d_inode->i_mode) ? PATH_IS_DIR : 0); } int aa_remount(struct aa_profile *profile, struct path *path,