summaryrefslogtreecommitdiffstats
path: root/src/osd/OSDMap.cc
diff options
context:
space:
mode:
authorSamuel Just <sjust@redhat.com>2023-11-17 05:33:54 +0100
committerSamuel Just <sjust@redhat.com>2024-01-08 19:50:17 +0100
commit52654551cc6c87ba00cd20587ff3fa3dc8142459 (patch)
tree62a8e052aeafd6e3c1ef0fc6cbdff6520baf81ab /src/osd/OSDMap.cc
parentcrush: add msr rule types and CrushWrapper infrastructure (diff)
downloadceph-52654551cc6c87ba00cd20587ff3fa3dc8142459.tar.xz
ceph-52654551cc6c87ba00cd20587ff3fa3dc8142459.zip
osd/OSDMap: minor formatting nit
Signed-off-by: Samuel Just <sjust@redhat.com>
Diffstat (limited to '')
-rw-r--r--src/osd/OSDMap.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osd/OSDMap.cc b/src/osd/OSDMap.cc
index 209ec6db203..30543107102 100644
--- a/src/osd/OSDMap.cc
+++ b/src/osd/OSDMap.cc
@@ -1764,9 +1764,8 @@ uint64_t OSDMap::get_features(int entity_type, uint64_t *pmask) const
features |= CEPH_FEATURE_CRUSH_V4;
if (crush->has_nondefault_tunables5())
features |= CEPH_FEATURE_CRUSH_TUNABLES5;
- if (crush->has_incompat_choose_args()) {
+ if (crush->has_incompat_choose_args())
features |= CEPH_FEATUREMASK_CRUSH_CHOOSE_ARGS;
- }
mask |= CEPH_FEATURES_CRUSH;
if (!pg_upmap.empty() || !pg_upmap_items.empty() || !pg_upmap_primaries.empty())