]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd/migration: don't include ImageState.h in formats 59551/head
authorIlya Dryomov <idryomov@gmail.com>
Sun, 1 Sep 2024 13:50:37 +0000 (15:50 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 1 Sep 2024 17:37:30 +0000 (19:37 +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>
src/librbd/migration/NativeFormat.cc
src/librbd/migration/QCOWFormat.cc
src/librbd/migration/RawFormat.cc

index f49a2594a82f04ef5ecb9d1a8658b052cd8ceeaa..4bbeee0535c6ada69d87182ebe5337c2211542d9 100644 (file)
@@ -8,7 +8,6 @@
 #include "common/errno.h"
 #include "include/scope_guard.h"
 #include "librbd/ImageCtx.h"
-#include "librbd/ImageState.h"
 #include "json_spirit/json_spirit.h"
 #include "boost/lexical_cast.hpp"
 
index ba5d7e4ee765d4d7d29d79237df8bfc10233010b..e62d3fffdd555ac717f488c330eef68383f897a1 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"