summaryrefslogtreecommitdiffstats
path: root/src/mds/SnapServer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds/SnapServer.cc')
-rw-r--r--src/mds/SnapServer.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mds/SnapServer.cc b/src/mds/SnapServer.cc
index 7ac888aca00..8ffc4258949 100644
--- a/src/mds/SnapServer.cc
+++ b/src/mds/SnapServer.cc
@@ -131,7 +131,7 @@ void SnapServer::_prepare(bufferlist &bl, uint64_t reqid, mds_rank_t bymds)
break;
default:
- assert(0);
+ ceph_abort();
}
//dump();
}
@@ -179,7 +179,7 @@ bool SnapServer::_commit(version_t tid, MMDSTableRequest *req)
pending_noop.erase(tid);
}
else
- assert(0);
+ ceph_abort();
// bump version.
version++;
@@ -211,7 +211,7 @@ void SnapServer::_rollback(version_t tid)
}
else
- assert(0);
+ ceph_abort();
// bump version.
version++;