]> Git Repo - linux.git/commitdiff
ceph: allow idmapped mounts
authorChristian Brauner <[email protected]>
Mon, 7 Aug 2023 13:26:26 +0000 (15:26 +0200)
committerIlya Dryomov <[email protected]>
Fri, 3 Nov 2023 22:28:34 +0000 (23:28 +0100)
Now that we converted cephfs internally to account for idmapped mounts
allow the creation of idmapped mounts on by setting the FS_ALLOW_IDMAP
flag.

Signed-off-by: Christian Brauner <[email protected]>
Signed-off-by: Alexander Mikhalitsyn <[email protected]>
Reviewed-by: Xiubo Li <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
fs/ceph/super.c

index 33fedcafbab7a1afd2c44e1df159daf4ef2a87da..5ec102f6b1ac514113dadf1b199732a565b9279c 100644 (file)
@@ -1582,7 +1582,7 @@ static struct file_system_type ceph_fs_type = {
        .name           = "ceph",
        .init_fs_context = ceph_init_fs_context,
        .kill_sb        = ceph_kill_sb,
-       .fs_flags       = FS_RENAME_DOES_D_MOVE,
+       .fs_flags       = FS_RENAME_DOES_D_MOVE | FS_ALLOW_IDMAP,
 };
 MODULE_ALIAS_FS("ceph");
 
This page took 0.059907 seconds and 4 git commands to generate.