Commit e9f1ddc8 authored by John Johansen's avatar John Johansen Committed by Tim Gardner

Revert "UBUNTU: SAUCE: (no-up) apparmor: fix mount not handling disconnected paths"

BugLink: http://bugs.launchpad.net/bugs/1379535

This reverts commit 1e7328d5.
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent f5f4b517
......@@ -332,7 +332,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_label *label, struct path *path, unsigned long flags,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment