]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #11541 from stiopaa1/mds_sessionmap_addConst
authorJohn Spray <jspray@redhat.com>
Wed, 19 Oct 2016 19:15:18 +0000 (21:15 +0200)
committerGitHub <noreply@github.com>
Wed, 19 Oct 2016 19:15:18 +0000 (21:15 +0200)
mds/SessionMap: add const to member functions

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
1  2 
src/mds/SessionMap.cc
src/mds/SessionMap.h

Simple merge
index d73bd1c919df7b832a0f7839dd46335104598e47,de010c348e49c451fbe48070949f1229b73ea90f..bade2af5ab03695fafdd625486e0fcf4bd69d148
@@@ -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();