From: Xiubo Li Date: Tue, 20 Apr 2021 05:54:11 +0000 (+0800) Subject: mds: reset the return value for heap command X-Git-Tag: v17.1.0~2089^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e694f0a92367b7672fcbeab9c104fd055765a36c;p=ceph.git mds: reset the return value for heap command Fixes: https://tracker.ceph.com/issues/50433 Signed-off-by: Xiubo Li --- diff --git a/src/mds/MDSDaemon.cc b/src/mds/MDSDaemon.cc index 0278eb638b31..8b653c063f5d 100644 --- a/src/mds/MDSDaemon.cc +++ b/src/mds/MDSDaemon.cc @@ -180,6 +180,7 @@ void MDSDaemon::asok_command( heapcmd_vec.push_back(value); } ceph_heap_profiler_handle_command(heapcmd_vec, ss); + r = 0; } } else if (command == "cpu_profiler") { string arg;