Skip to content

Commit 3331b5c

Browse files
authored
Merge pull request ceph#64432 from tchaikov/wip-cls-rbd-iwyu
cls/rbd: remove unused includes Reviewed-by: Ilya Dryomov <[email protected]>
2 parents 6130d05 + a5c96eb commit 3331b5c

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

src/cls/rbd/cls_rbd_client.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// vim: ts=8 sw=2 smarttab
33

44
#include "cls/rbd/cls_rbd_client.h"
5-
#include "cls/lock/cls_lock_client.h"
65
#include "include/buffer.h"
76
#include "include/encoding.h"
87
#include "include/rbd_types.h"

src/test/cls_rbd/test_cls_rbd.cc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22
// vim: ts=8 sw=2 smarttab
33

44
#include "include/compat.h"
5-
#include "common/ceph_context.h"
6-
#include "common/config.h"
75
#include "common/snap_types.h"
86
#include "common/Clock.h"
97
#include "common/bit_vector.hpp"
10-
#include "include/encoding.h"
11-
#include "include/types.h"
12-
#include "include/rados/librados.h"
8+
#include "include/rados/librados.hpp"
139
#include "include/rbd/object_map_types.h"
1410
#include "include/rbd_types.h"
1511
#include "include/stringify.h"
16-
#include "cls/rbd/cls_rbd.h"
1712
#include "cls/rbd/cls_rbd_client.h"
1813
#include "cls/rbd/cls_rbd_types.h"
1914
#include "librbd/Types.h"
@@ -31,8 +26,6 @@ using cls::rbd::MIRROR_PEER_DIRECTION_RX;
3126
using cls::rbd::MIRROR_PEER_DIRECTION_TX;
3227
using cls::rbd::MIRROR_PEER_DIRECTION_RX_TX;
3328
using ::librbd::ParentImageInfo;
34-
using ceph::encode;
35-
using ceph::decode;
3629

3730
static int snapshot_add(librados::IoCtx *ioctx, const std::string &oid,
3831
uint64_t snap_id, const std::string &snap_name) {

0 commit comments

Comments
 (0)