]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix return value of MDCache::dump_cache 20121/head
authorYan, Zheng <zyan@redhat.com>
Wed, 6 Sep 2017 09:06:44 +0000 (17:06 +0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 25 Jan 2018 17:28:00 +0000 (09:28 -0800)
commitd4f5dc27803d0f356c15ee2a4de4c22dbf943fe3
tree9b87941e2fcff9b7afb70541d7d63c9ecca08932
parentcea6b6e392dccd3793d6db2eeed50dd9969c80e8
mds: fix return value of MDCache::dump_cache

previous commit "mds: track snap inodes through sorted map" makes
MDCache::dump_cache return 1 on success.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit f519fca9dd958121a289676edf5175fb8be9894f)

Backport note: the original cause was commit
46c829d23aa5379a973d2330b0551a5b92598133. The fix was part of snapshot fixes
for Mimic in f519fca9dd958121a289676edf5175fb8be9894f which was not backported.
src/mds/MDCache.cc