diff options
Diffstat (limited to 'src/mds/MDS.cc')
-rw-r--r-- | src/mds/MDS.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mds/MDS.cc b/src/mds/MDS.cc index a867961ccf3..439f33cfc8c 100644 --- a/src/mds/MDS.cc +++ b/src/mds/MDS.cc @@ -1890,8 +1890,7 @@ bool MDS::_dispatch(Message *m) ls.swap(finished_queue); while (!ls.empty()) { dout(10) << " finish " << ls.front() << dendl; - ls.front()->finish(0); - delete ls.front(); + ls.front()->complete(0); ls.pop_front(); // give other threads (beacon!) a chance |