]> 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, 7 May 2024 12:19:27 +0000 (08:19 -0400)
commitf79ae86f2c23388f6ecc3177764735e071998e09
tree3cdfbd7996c04f3087de67d4d93f9aaf39a6ad09
parent247b4fed28617c104473d1586b66a8735bff0411
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>
src/mds/MDSAuthCaps.h
src/mds/Server.cc