]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
*: drop strict_iecstrtoll(const char *str,..) 42485/head
authorKefu Chai <kchai@redhat.com>
Mon, 26 Jul 2021 07:16:06 +0000 (15:16 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 26 Jul 2021 12:12:17 +0000 (20:12 +0800)
commit54c3e1b6880af065a53905872ba02ab4a9ee979a
tree8c7a4a654a398975a2632d6503c3808d0cc31054
parent5d22af9316b412d630befdfcae86686dc8f724d8
*: drop strict_iecstrtoll(const char *str,..)

replace strict_iecstrtoll(const char *str,..) with
strict_iecstrtoll(std::string_view, ..). which is more convenient.
and both of them share the same implementation:

strict_iec_cast<uint64_t>(str, err);

so they are interchangeable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/options.cc
src/common/strtol.cc
src/common/strtol.h
src/kv/RocksDBStore.cc
src/mon/OSDMonitor.cc
src/os/bluestore/BitmapFreelistManager.cc
src/test/objectstore_bench.cc
src/tools/ceph_dedup_tool.cc
src/tools/rbd/ArgumentTypes.cc
src/tools/rbd/action/Bench.cc