]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: add ceph_mds_check_access() helper support
authorXiubo Li <xiubli@redhat.com>
Tue, 7 Nov 2023 06:55:46 +0000 (14:55 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 13 Feb 2024 10:25:12 +0000 (11:25 +0100)
commitd6b0be50e96323bc6bd0b15d78a3666ddd78bd90
tree23b296fff3e1a8dd6e60907a34c3958978741f5e
parentc671d7a55b98fda2bba9fe2840eca428d9e53e1c
ceph: add ceph_mds_check_access() helper support

This will help check the mds auth access in client side. Always
insert the server path in front of the target path when matching
the paths.

URL: https://tracker.ceph.com/issues/61333
Signed-off-by: Xiubo Li <xiubli@redhat.com>
fs/ceph/mds_client.c
fs/ceph/mds_client.h