mirror of
https://github.com/ceph/ceph
synced 2025-01-27 21:44:58 +00:00
mds/SnapServer: add const to member function
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
This commit is contained in:
parent
5354e7c26f
commit
2eb96d5718
@ -136,7 +136,7 @@ void SnapServer::_prepare(bufferlist &bl, uint64_t reqid, mds_rank_t bymds)
|
||||
//dump();
|
||||
}
|
||||
|
||||
bool SnapServer::_is_prepared(version_t tid)
|
||||
bool SnapServer::_is_prepared(version_t tid) const
|
||||
{
|
||||
return
|
||||
pending_update.count(tid) ||
|
||||
|
@ -81,7 +81,7 @@ public:
|
||||
|
||||
// server bits
|
||||
void _prepare(bufferlist &bl, uint64_t reqid, mds_rank_t bymds) override;
|
||||
bool _is_prepared(version_t tid);
|
||||
bool _is_prepared(version_t tid) const;
|
||||
bool _commit(version_t tid, MMDSTableRequest *req=NULL) override;
|
||||
void _rollback(version_t tid) override;
|
||||
void _server_update(bufferlist& bl) override;
|
||||
|
Loading…
Reference in New Issue
Block a user