]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: correct image_spec() output when rbd-nbd Detach/Unmap error 43535/head
authorhaoyixing <haoyixing@kuaishou.com>
Thu, 14 Oct 2021 07:08:16 +0000 (15:08 +0800)
committerhaoyixing <haoyixing@kuaishou.com>
Thu, 14 Oct 2021 07:08:47 +0000 (15:08 +0800)
Signed-off-by: haoyixing <haoyixing@kuaishou.com>
src/tools/rbd_nbd/rbd-nbd.cc

index 60642edc11c79e40836a34541fe33c798ed6e8a3..1f8eb54fa016ad455b637a86810a704d5946f9bf 100644 (file)
@@ -128,7 +128,7 @@ struct Config {
     std::string spec = poolname + "/";
 
     if (!nsname.empty()) {
-      spec += "/" + nsname;
+      spec += nsname + "/";
     }
     spec += imgname;