]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: do not return ref to MonOpRequest::get_session() caller
authorSage Weil <sage@redhat.com>
Mon, 14 Sep 2015 14:24:22 +0000 (10:24 -0400)
committerSage Weil <sage@redhat.com>
Mon, 14 Sep 2015 14:24:22 +0000 (10:24 -0400)
commitc2a9764fddb9f5adb970150b4ce723e3580c8e4f
tree2438c22e8b35ac276fc6f8a0d25f36e9bdf0ac54
parentd99e6899caa8836cef338034e34ac6e4da928ed1
mon: do not return ref to MonOpRequest::get_session() caller

Most callers don't put the ref, and since we hold the op ref it's
not necessary.  This will also  make a somewhat cleaner transition
to MonSessionRef later.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/AuthMonitor.cc
src/mon/MonOpRequest.h
src/mon/Monitor.cc