]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge tag 'v13.0.2'
authorSage Weil <sage@redhat.com>
Tue, 3 Apr 2018 15:08:22 +0000 (10:08 -0500)
committerSage Weil <sage@redhat.com>
Tue, 3 Apr 2018 15:08:22 +0000 (10:08 -0500)
v13.0.2

1  2 
CMakeLists.txt
src/ceph_fuse.cc
src/common/options.cc
src/rgw/rgw_admin.cc
src/rgw/rgw_main.cc
src/test/cli/ceph-authtool/help.t
src/test/cli/radosgw-admin/help.t
src/tools/ceph_authtool.cc
src/tools/monmaptool.cc
src/tools/rbd_nbd/rbd-nbd.cc

diff --cc CMakeLists.txt
Simple merge
index a6295e2b2d7615ed4d4cfb70f55a4f9540aa74fd,916217bead7ef962e6cf6b7fdaae8735c857f132..f271239493adf6865203d2c4b352990dce3e0f83
@@@ -93,21 -100,6 +98,19 @@@ int main(int argc, const char **argv, c
      } else if (ceph_argparse_flag(args, i, "--localize-reads", (char*)nullptr)) {
        cerr << "setting CEPH_OSD_FLAG_LOCALIZE_READS" << std::endl;
        filer_flags |= CEPH_OSD_FLAG_LOCALIZE_READS;
-     } else if (ceph_argparse_flag(args, i, "-h", "--help", (char*)nullptr)) {
-       usage();
 +    } else if (ceph_argparse_flag(args, i, "-V", (char*)nullptr)) {
 +      const char* tmpargv[] = {
 +      "ceph-fuse",
 +      "-V"
 +      };
 +
 +      struct fuse_args fargs = FUSE_ARGS_INIT(2, (char**)tmpargv);
 +      if (fuse_parse_cmdline(&fargs, nullptr, nullptr, nullptr) == -1) {
 +       derr << "fuse_parse_cmdline failed." << dendl;
 +      }
 +      assert(fargs.allocated);
 +      fuse_opt_free_args(&fargs);
 +      exit(0);
      } else {
        ++i;
      }
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge