Commit 3988fb70 authored by Seth Forshee's avatar Seth Forshee Committed by Kamal Mostafa

Revert "UBUNTU: SAUCE: kernfs: Do not match superblock in another user namespace when mounting"

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

This reverts commit aadbec3a.
Signed-off-by: default avatarSeth Forshee <seth.forshee@canonical.com>
Acked-by: default avatarTim Gardner <tim.gardner@canonical.com>
Acked-by: default avatarBrad Figg <brad.figg@canonical.com>
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent f2567228
......@@ -186,8 +186,7 @@ static int kernfs_test_super(struct super_block *sb, void *data)
struct kernfs_super_info *sb_info = kernfs_info(sb);
struct kernfs_super_info *info = data;
return sb_info->root == info->root && sb_info->ns == info->ns &&
sb->s_user_ns == current_user_ns();
return sb_info->root == info->root && sb_info->ns == info->ns;
}
static int kernfs_set_super(struct super_block *sb, void *data)
......
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