Skip to content

Commit

Permalink
Merge pull request ceph#11681 from stiopaa1/mds_mdstableclient_addCon…
Browse files Browse the repository at this point in the history
…sttoMemFun

mds/MDSTableClient.h: add const to member funct

Reviewed-by: Greg Farnum <[email protected]>
  • Loading branch information
gregsfortytwo committed Nov 8, 2016
2 parents 267cd5a + c6a1f0e commit b2fe54b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mds/MDSTableClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class MDSTableClient {
void got_journaled_agree(version_t tid, LogSegment *ls);
void got_journaled_ack(version_t tid);

bool has_committed(version_t tid) {
bool has_committed(version_t tid) const {
return pending_commit.count(tid) == 0;
}
void wait_for_ack(version_t tid, MDSInternalContextBase *c) {
Expand Down

0 comments on commit b2fe54b

Please sign in to comment.