]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: hold session ref longer in resend
authorJohn Spray <john.spray@redhat.com>
Sun, 24 Aug 2014 22:48:57 +0000 (23:48 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:34:20 +0000 (01:34 +0100)
commit28110ff3dbc18afb6848b23a0b81641e91bf5ffa
treeb33c16a1c183625ca3b70c3e85a6e670b168a35b
parent5d1b295bc8049c809f859414104fd4ba1bfea1f4
osdc/Objecter: hold session ref longer in resend

This is mostly cosmetic: in fact we are getting an extra
ref in _map_session and holding the session lock, so
it's safe, but it's awkward to be giving up the ref on
a session and then continuing to refer to it.

Signed-off-by: John Spray <john.spray@redhat.com>
src/osdc/Objecter.cc