Skip to content

Commit d489704

Browse files
committed
osd/SnapMapper: is_mapping() to be public
Signed-off-by: Matan Breizman <[email protected]>
1 parent 7a9cc2d commit d489704

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/osd/SnapMapper.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,6 @@ class SnapMapper : public Scrub::SnapMapReaderI {
256256
std::pair<std::string, ceph::buffer::list> to_raw(
257257
const std::pair<snapid_t, hobject_t> &to_map) const;
258258

259-
static bool is_mapping(const std::string &to_test);
260-
261259
static std::pair<snapid_t, hobject_t> from_raw(
262260
const std::pair<std::string, ceph::buffer::list> &image);
263261

@@ -317,6 +315,8 @@ class SnapMapper : public Scrub::SnapMapReaderI {
317315
return std::string(buf, r) + '_';
318316
}
319317

318+
static bool is_mapping(const std::string &to_test);
319+
320320
uint32_t mask_bits;
321321
const uint32_t match;
322322
std::string last_key_checked;

0 commit comments

Comments
 (0)