X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Ftools%2Frbd%2Faction%2FKernel.cc;h=1f1951fc8842539b269ca3d2b00d80d4bff87623;hb=31f18b776d001752a193a7cec8bb49033c1a904c;hp=336dd597d86b01c90f3bd9239b3ec0b6cb76b7ad;hpb=40152f1e46a80b3405e5558a442ee632198dfd24;p=ceph.git diff --git a/ceph/src/tools/rbd/action/Kernel.cc b/ceph/src/tools/rbd/action/Kernel.cc index 336dd597d..1f1951fc8 100644 --- a/ceph/src/tools/rbd/action/Kernel.cc +++ b/ceph/src/tools/rbd/action/Kernel.cc @@ -259,8 +259,10 @@ static void print_error_description(const char *poolname, const char *imgname, } else { std::cout << "You can disable features unsupported by the kernel " << "with \"rbd feature disable "; - if (poolname != at::DEFAULT_POOL_NAME) + + if (poolname != utils::get_default_pool_name()) { std::cout << poolname << "/"; + } std::cout << imgname; } } else {