From: John Spray Date: Wed, 19 Oct 2016 19:15:18 +0000 (+0200) Subject: Merge pull request #11541 from stiopaa1/mds_sessionmap_addConst X-Git-Tag: v11.1.0~575 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cb827316bfae698193869f1dbefb29add1a37a41;p=ceph.git Merge pull request #11541 from stiopaa1/mds_sessionmap_addConst mds/SessionMap: add const to member functions Reviewed-by: Greg Farnum --- cb827316bfae698193869f1dbefb29add1a37a41 diff --cc src/mds/SessionMap.h index d73bd1c919d,de010c348e4..bade2af5ab0 --- a/src/mds/SessionMap.h +++ b/src/mds/SessionMap.h @@@ -149,9 -150,8 +149,9 @@@ public void notify_cap_release(size_t n_caps); void notify_recall_sent(int const new_limit); + void clear_recalled_at(); - inodeno_t next_ino() { + inodeno_t next_ino() const { if (info.prealloc_inos.empty()) return 0; return info.prealloc_inos.range_start();