]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: reset the return value for heap command 40927/head
authorXiubo Li <xiubli@redhat.com>
Tue, 20 Apr 2021 05:54:11 +0000 (13:54 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 20 Apr 2021 06:25:11 +0000 (14:25 +0800)
Fixes: https://tracker.ceph.com/issues/50433
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/mds/MDSDaemon.cc

index 0278eb638b310acd4cdde1ba30a1e41724d9181f..8b653c063f5dabce03a84cc6556328ed65358a5f 100644 (file)
@@ -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;