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: v16.2.5~30^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1e25989657a93ecf4d4ca44d6a3ed616aef1af7b;p=ceph.git mds: reset the return value for heap command Fixes: https://tracker.ceph.com/issues/50433 Signed-off-by: Xiubo Li (cherry picked from commit e694f0a92367b7672fcbeab9c104fd055765a36c) --- diff --git a/src/mds/MDSDaemon.cc b/src/mds/MDSDaemon.cc index 0278eb638b3..8b653c063f5 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;