summaryrefslogtreecommitdiffstats
path: root/src/mds/MDSRank.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds/MDSRank.cc')
-rw-r--r--src/mds/MDSRank.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds/MDSRank.cc b/src/mds/MDSRank.cc
index 8e267503ab2..c2f3544f97b 100644
--- a/src/mds/MDSRank.cc
+++ b/src/mds/MDSRank.cc
@@ -3107,7 +3107,7 @@ void MDSRankDispatcher::evict_clients(
dout(20) << __func__ << " matched " << victims.size() << " sessions" << dendl;
if (victims.empty()) {
- on_finish(-ESRCH, "no hosts match", outbl);
+ on_finish(0, "no hosts match", outbl);
return;
}