ceph: allow idmapped atomic_open inode op
authorChristian Brauner <brauner@kernel.org>
Mon, 7 Aug 2023 13:26:25 +0000 (15:26 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 3 Nov 2023 22:28:34 +0000 (23:28 +0100)
commit8a051b40abd6f948a599dc6328e9356f4697e77d
tree63ac00c2ad34d94aa26000c45777a573501ab593
parent2cce72dda2b5c494f6489ba78588c4ce191c6b61
ceph: allow idmapped atomic_open inode op

Enable ceph_atomic_open() to handle idmapped mounts. This is just a
matter of passing down the mount's idmapping.

[ aleksandr.mikhalitsyn: adapted to 5fadbd9929 ("ceph: rely on vfs for
  setgid stripping") ]

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>
fs/ceph/file.c