ceph: add CEPHFS_FEATURE_MDS_AUTH_CAPS_CHECK feature bit
authorXiubo Li <xiubli@redhat.com>
Mon, 4 Dec 2023 05:01:13 +0000 (13:01 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 23 May 2024 08:35:47 +0000 (10:35 +0200)
Since we have support checking the mds auth cap in kclient, just
set the feature bit.

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.h

index dba514fb7fab8c0945cfa7b69b1690e9eabffbbe..cfa18cf915a0772059931fc5e262c0184ce0a551 100644 (file)
@@ -35,8 +35,9 @@ enum ceph_feature_type {
        CEPHFS_FEATURE_32BITS_RETRY_FWD,
        CEPHFS_FEATURE_NEW_SNAPREALM_INFO,
        CEPHFS_FEATURE_HAS_OWNER_UIDGID,
+       CEPHFS_FEATURE_MDS_AUTH_CAPS_CHECK,
 
-       CEPHFS_FEATURE_MAX = CEPHFS_FEATURE_HAS_OWNER_UIDGID,
+       CEPHFS_FEATURE_MAX = CEPHFS_FEATURE_MDS_AUTH_CAPS_CHECK,
 };
 
 #define CEPHFS_FEATURES_CLIENT_SUPPORTED {     \
@@ -52,6 +53,7 @@ enum ceph_feature_type {
        CEPHFS_FEATURE_OP_GETVXATTR,            \
        CEPHFS_FEATURE_32BITS_RETRY_FWD,        \
        CEPHFS_FEATURE_HAS_OWNER_UIDGID,        \
+       CEPHFS_FEATURE_MDS_AUTH_CAPS_CHECK,     \
 }
 
 /*