diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index ae59c26ee13bf..17d4ce49188fa 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -11731,7 +11731,7 @@ void MDCache::dump_cache(const char *fn) std::string s = ss.str(); r = safe_write(fd, s.c_str(), s.length()); if (r < 0) - return; + goto out; list dfs; in->get_dirfrags(dfs);