From: Christian Brauner Date: Mon, 7 Aug 2023 13:26:26 +0000 (+0200) Subject: ceph: allow idmapped mounts X-Git-Tag: v6.7-rc1~20^2 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Flinux.git;a=commitdiff_plain;h=56d2e2cfa21315c12945c22e141c7e7ec8b0a630 ceph: allow idmapped mounts 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 Signed-off-by: Alexander Mikhalitsyn Reviewed-by: Xiubo Li Signed-off-by: Ilya Dryomov --- diff --git a/fs/ceph/super.c b/fs/ceph/super.c index 33fedcafbab7a..5ec102f6b1ac5 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c @@ -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");