diff options
author | Christian Brauner <brauner@kernel.org> | 2023-08-07 15:26:26 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2023-11-03 23:28:34 +0100 |
commit | 56d2e2cfa21315c12945c22e141c7e7ec8b0a630 (patch) | |
tree | d7fc751b3c86ffcaa9b9fa3edc2f2e35a238e21d /fs/ceph | |
parent | 8a051b40abd6f948a599dc6328e9356f4697e77d (diff) | |
download | linux-56d2e2cfa21315c12945c22e141c7e7ec8b0a630.tar.gz linux-56d2e2cfa21315c12945c22e141c7e7ec8b0a630.tar.bz2 linux-56d2e2cfa21315c12945c22e141c7e7ec8b0a630.zip |
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 <brauner@kernel.org>
Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph')
-rw-r--r-- | fs/ceph/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c index 33fedcafbab7..5ec102f6b1ac 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"); |