]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tools/rbd/action/Kernel.cc
update sources to v12.1.0
[ceph.git] / ceph / src / tools / rbd / action / Kernel.cc
index 336dd597d86b01c90f3bd9239b3ec0b6cb76b7ad..1f1951fc8842539b269ca3d2b00d80d4bff87623 100644 (file)
@@ -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 {