]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: Fix Session::get_request_count 2376/head
authorJohn Spray <john.spray@redhat.com>
Tue, 2 Sep 2014 12:15:09 +0000 (13:15 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 2 Sep 2014 12:18:19 +0000 (13:18 +0100)
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/SessionMap.cc

index 8b797f763c97640f3b440f50e1578b9ad3e75aef..76af79b0d4f8655a00f2fc25cc5a029e0f4d29e4 100644 (file)
@@ -285,6 +285,7 @@ size_t Session::get_request_count()
       member_offset(MDRequestImpl, item_session_request));
   while (!p.end()) {
     ++result;
+    ++p;
   }
 
   return result;