]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
UBUNTU: SAUCE: overlayfs: Enable user namespace mounts
authorSeth Forshee <seth.forshee@canonical.com>
Mon, 27 Jul 2015 14:16:54 +0000 (09:16 -0500)
committerAndrea Righi <andrea.righi@canonical.com>
Mon, 14 Dec 2020 07:30:28 +0000 (08:30 +0100)
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
fs/overlayfs/super.c

index 7897b129f027adf59d19cb448f7f57e1c5baaaff..929d90e8a8801f86bd7e1cb252f263f7edb74e8c 100644 (file)
@@ -2044,6 +2044,7 @@ static struct file_system_type ovl_fs_type = {
        .name           = "overlay",
        .mount          = ovl_mount,
        .kill_sb        = kill_anon_super,
+       .fs_flags       = FS_USERNS_MOUNT,
 };
 MODULE_ALIAS_FS("overlay");