]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd/migration: don't include ImageState.h in formats 59660/head
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:14:34 +0000 (22:14 +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
  reef ]

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

index 6d4c3bcbba4c348da6135235961b279a0782ecc8..be5078e8ab0447e674126f7019c8dffb3adc4640 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 dec7eb8f43856ece25fa5f32cae90e8d42f1430d..cd34dd53ff6d5b368fba4c91c49762ed0700842e 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 7f4c411ca03e5d9582462067f1bce976933d9792..6e29e2fedaa1452c2877c317098634e18222585b 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"