Skip to content

Commit cc427ae

Browse files
committed
tools/ceph-objectstore-tool: permit --no-superblock switch for pg export
Signed-off-by: Igor Fedotov <[email protected]>
1 parent 8259f75 commit cc427ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tools/ceph_objectstore_tool.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3772,6 +3772,9 @@ int main(int argc, char **argv)
37723772
ret = -EINVAL;
37733773
goto out;
37743774
}
3775+
} else {
3776+
cout << "Using no superblock" << std::endl;
3777+
superblock.reset(new OSDSuperblock);
37753778
}
37763779

37773780
if (op != "list" && vm.count("object")) {

0 commit comments

Comments
 (0)