Skip to content

Commit 56d2e2c

Browse files
brauneridryomov
authored andcommitted
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 <[email protected]> Signed-off-by: Alexander Mikhalitsyn <[email protected]> Reviewed-by: Xiubo Li <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
1 parent 8a051b4 commit 56d2e2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ceph/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1582,7 +1582,7 @@ static struct file_system_type ceph_fs_type = {
15821582
.name = "ceph",
15831583
.init_fs_context = ceph_init_fs_context,
15841584
.kill_sb = ceph_kill_sb,
1585-
.fs_flags = FS_RENAME_DOES_D_MOVE,
1585+
.fs_flags = FS_RENAME_DOES_D_MOVE | FS_ALLOW_IDMAP,
15861586
};
15871587
MODULE_ALIAS_FS("ceph");
15881588

0 commit comments

Comments
 (0)