From 596d892e6023aeedf2fa4b178708c712d3180269 Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Tue, 4 Aug 2020 14:28:21 -0400 Subject: [PATCH] rbd: drop querying of RBD default features These will be computed internally by librbd using any potential global configuration overrides. Signed-off-by: Jason Dillaman --- src/tools/rbd/Utils.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/tools/rbd/Utils.cc b/src/tools/rbd/Utils.cc index 67df7030e1a..eb1ea370ac7 100644 --- a/src/tools/rbd/Utils.cc +++ b/src/tools/rbd/Utils.cc @@ -443,8 +443,6 @@ int get_image_options(const boost::program_options::variables_map &vm, if (vm.count(at::IMAGE_FEATURES)) { features = vm[at::IMAGE_FEATURES].as(); features_specified = true; - } else { - features = get_rbd_default_features(g_ceph_context); } if (vm.count(at::IMAGE_STRIPE_UNIT)) { -- 2.39.5