]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-objectstore-tool: don't require journal path
authorSage Weil <sage@redhat.com>
Wed, 30 Dec 2015 15:26:16 +0000 (10:26 -0500)
committerSage Weil <sage@redhat.com>
Fri, 1 Jan 2016 18:09:16 +0000 (13:09 -0500)
Assume journal symlink is present.

Signed-off-by: Sage Weil <sage@redhat.com>
src/tools/ceph_objectstore_tool.cc

index e4186fbae1533af55142babcabd71780a3622397..5502c84b880c908317b30600b85416f678d3268c 100644 (file)
@@ -2331,9 +2331,7 @@ int main(int argc, char **argv)
     myexit(1);
   }
   if (type == "filestore" && !vm.count("journal-path")) {
-    cerr << "Must provide --journal-path" << std::endl;
-    usage(desc);
-    myexit(1);
+    jpath = dpath + "/journal";
   }
   if (!vm.count("op") && !vm.count("object")) {
     cerr << "Must provide --op or object command..." << std::endl;