]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: check relevant caps for fs include root_squash
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 1 May 2024 01:41:14 +0000 (21:41 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 21 May 2024 16:18:58 +0000 (12:18 -0400)
commit24b7def2a338818e4c591a7a2c79457d5a464f86
tree7c12a944fa4cbeb7db16c073b51fe753a694fe39
parent553c23df8c1cac113a6dc5a3e693e6e78122e0a8
mds: check relevant caps for fs include root_squash

When denying client reconnects because the MDS caps include root_squash and the
client features do not include CEPHFS_FEATURE_MDS_AUTH_CAPS_CHECK, ensure those
caps are only for the file system the MDS is joined to.

Fixes: https://tracker.ceph.com/issues/65733
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit f79ae86f2c23388f6ecc3177764735e071998e09)
src/mds/MDSAuthCaps.h
src/mds/Server.cc