]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
librbd/migration: don't include ImageState.h in formats
authorIlya Dryomov <idryomov@gmail.com>
Sun, 1 Sep 2024 13:50:37 +0000 (15:50 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 8 Sep 2024 20:22:38 +0000 (22:22 +0200)
src_image_ctx, whether dummy for RawFormat and QCOWFormat or real for
NativeFormat, is managed by OpenSourceImageRequest.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 8e58a52a408b703b79342670acbeb6c7303ddde7)

Conflicts:
src/librbd/migration/NativeFormat.cc [ commit 293d523ea69a
  ("librbd/migration: add external clusters support") not in
  squid ]

src/librbd/migration/NativeFormat.cc
src/librbd/migration/QCOWFormat.cc
src/librbd/migration/RawFormat.cc

index 51248b95e26eae85955e77fa9b118a33bfd810fe..2829169ab0ca51de91e12a79964e7752f26706a0 100644 (file)
@@ -6,7 +6,6 @@
 #include "common/dout.h"
 #include "common/errno.h"
 #include "librbd/ImageCtx.h"
-#include "librbd/ImageState.h"
 #include "librbd/Utils.h"
 #include "librbd/asio/ContextWQ.h"
 #include "librbd/io/ImageDispatchSpec.h"
index b2e277ad3762ea381dd142c4721e69e30ec985f0..5395c5c6925b9143bab465cfd09e36a14cac0d48 100644 (file)
@@ -8,7 +8,6 @@
 #include "include/intarith.h"
 #include "librbd/AsioEngine.h"
 #include "librbd/ImageCtx.h"
-#include "librbd/ImageState.h"
 #include "librbd/Utils.h"
 #include "librbd/io/AioCompletion.h"
 #include "librbd/io/ReadResult.h"
index 2c60b163cc390bc4eb1d990dfff49283aa9bb0ab..8a296a32c276497a625b1095c3a972b8fc4bf61a 100644 (file)
@@ -5,7 +5,6 @@
 #include "common/dout.h"
 #include "common/errno.h"
 #include "librbd/ImageCtx.h"
-#include "librbd/ImageState.h"
 #include "librbd/Utils.h"
 #include "librbd/io/AioCompletion.h"
 #include "librbd/io/ReadResult.h"