ceph: remove useless CEPHFS_FEATURES_CLIENT_REQUIRED
PATCH 1/1 ceph: remove useless CEPHFS_FEATURES_CLIENT_REQUIRED
This macro was added but never be used. And check the ceph code there has another CEPHFS_FEATURES_MDS_REQUIRED but always be empty.
We should clean up all this related code, which make no sense but introducing confusion.
--- fs/ceph/mds_client.h | 1 - 1 file changed, 1 deletion(-)
fs/ceph/mds_client.h +0 -1
@@ -42,7 +42,6 @@ enum ceph_feature_type {CEPHFS_FEATURE_DELEG_INO , \ CEPHFS_FEATURE_METRIC_COLLECT, \ } -#define CEPHFS_FEATURES_CLIENT_REQUIRED {}/* * Some lock dependencies:
Signature · 1 line
2.36.0.rc1
Quoted 16 lines · Xiubo Li
This macro was added but never be used. And check the ceph code there has another
CEPHFS_FEATURES_MDS_REQUIREDbut always be empty.We should clean up all this related code, which make no sense but introducing confusion.
Signed-off-by Xiubo Li <[email protected]>--- fs/ceph/mds_client.h | 1 - 1 file changed, 1 deletion(-)fs/ceph/mds_client.h +0
-0
fs/ceph/mds_client.h enum ceph_feature_type { · line 47
Quoted 7 lines
fs/ceph/mds_client.h +0
-1@@ -42,7 +42,6 @@ enum ceph_feature_type {CEPHFS_FEATURE_DELEG_INO , \ CEPHFS_FEATURE_METRIC_COLLECT, \ } -#define CEPHFS_FEATURES_CLIENT_REQUIRED {}/* * Some lock dependencies:
Luís Henriques
Reviewed-byQuoted 22 lines · Jeff Layton
Quoted 21 lines · Xiubo Li
This macro was added but never be used. And check the ceph code there has another
CEPHFS_FEATURES_MDS_REQUIREDbut always be empty.We should clean up all this related code, which make no sense but introducing confusion.
Signed-off-by Xiubo Li <[email protected]>--- fs/ceph/mds_client.h | 1 - 1 file changed, 1 deletion(-)fs/ceph/mds_client.h +0
-1@@ -42,7 +42,6 @@ enum ceph_feature_type { CEPHFS_FEATURE_DELEG_INO, \ CEPHFS_FEATURE_METRIC_COLLECT, \ } -#define CEPHFS_FEATURES_CLIENT_REQUIRED {}
Quoted 4 lines
fs/ceph/mds_client.h enum ceph_feature_type { · line 47
Quoted 2 lines
fs/ceph/mds_client.h +0
-0/* * Some lock dependencies: Reviewed-by Jeff Layton <[email protected]>
Yep, this makes sense.
Cheers,
Signature · 1 line
Luís