ceph: save cap_auths in MDS client when session is opened
authorXiubo Li <xiubli@redhat.com>
Mon, 25 Sep 2023 08:25:20 +0000 (16:25 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 23 May 2024 08:35:46 +0000 (10:35 +0200)
commit1d17de9534cb5a4c4c380d174cc2f9281b34f89e
tree5598506331f6d9569891f522b033815292cfb728
parenta38297e3fb012ddfa7ce0321a7e5a8daeb1872b6
ceph: save cap_auths in MDS client when session is opened

Save the cap_auths, which have been parsed by the MDS, in the opened
session.

[ idryomov: use s64 and u32 instead of int64_t and uint32_t, switch to
            bool for root_squash, readable and writeable ]

Link: https://tracker.ceph.com/issues/61333
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c
fs/ceph/mds_client.h