diff options
author | Christian Brauner <brauner@kernel.org> | 2023-08-07 16:26:20 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2023-11-04 01:28:34 +0300 |
commit | 0513043ec491500237d7215bf1ccfed54f292e86 (patch) | |
tree | fbe3fac13cc925c6696bfc7b5fb3ea246bc2b9a6 /fs | |
parent | 09838f1bfd40f483cd6442788e810ea042e91177 (diff) | |
download | linux-0513043ec491500237d7215bf1ccfed54f292e86.tar.xz |
ceph: allow idmapped getattr inode op
Enable ceph_getattr() to handle idmapped mounts. This is just a matter
of passing down the mount's idmapping.
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')
-rw-r--r-- | fs/ceph/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c index 808b5a69f028..4e7610357d89 100644 --- a/fs/ceph/inode.c +++ b/fs/ceph/inode.c @@ -3027,7 +3027,7 @@ int ceph_getattr(struct mnt_idmap *idmap, const struct path *path, return err; } - generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); + generic_fillattr(idmap, request_mask, inode, stat); stat->ino = ceph_present_inode(inode); /* |