]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: optimize journal header file dependency
authorshawn <cxwshawn@gmail.com>
Tue, 7 Jun 2016 05:59:05 +0000 (01:59 -0400)
committershawn <cxwshawn@gmail.com>
Tue, 21 Jun 2016 03:03:03 +0000 (23:03 -0400)
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
src/librbd/journal/Replay.cc
src/librbd/journal/Replay.h

index c57202a0ba31b1dad9331a75900d58a496471606..b387bb7034983e801ee2a80e376ba03cf01ced14 100644 (file)
@@ -9,7 +9,6 @@
 #include "librbd/AioImageRequest.h"
 #include "librbd/ImageCtx.h"
 #include "librbd/ImageState.h"
-#include "librbd/ImageWatcher.h"
 #include "librbd/internal.h"
 #include "librbd/Operations.h"
 #include "librbd/Utils.h"
index aeca5ba26db681f453eda6385c5c18bad34431ec..7b6b4db868d5dc64fd3d3e340d990e412802e10d 100644 (file)
@@ -7,12 +7,10 @@
 #include "include/int_types.h"
 #include "include/buffer_fwd.h"
 #include "include/Context.h"
-#include "include/rbd/librbd.hpp"
 #include "common/Mutex.h"
 #include "librbd/journal/Types.h"
 #include <boost/variant.hpp>
 #include <list>
-#include <set>
 #include <unordered_set>
 #include <unordered_map>