From: Sage Weil Date: Fri, 13 Sep 2019 15:22:14 +0000 (-0500) Subject: os/bluestore: fix asok hook return value X-Git-Tag: v15.1.0~1323^2~13 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7aab81c97c48b2996e9f36eda55bdd292fc3f92d;p=ceph-ci.git os/bluestore: fix asok hook return value Signed-off-by: Sage Weil --- diff --git a/src/os/bluestore/Allocator.cc b/src/os/bluestore/Allocator.cc index 7ec94186c5a..341ea021c01 100644 --- a/src/os/bluestore/Allocator.cc +++ b/src/os/bluestore/Allocator.cc @@ -53,7 +53,7 @@ public: int call(std::string_view command, const cmdmap_t& cmdmap, std::string_view format, bufferlist& out) override { stringstream ss; - bool r = 0; + int r = 0; if (command == "bluestore allocator dump " + name) { Formatter *f = Formatter::create(format, "json-pretty", "json-pretty"); f->open_array_section("free_regions");