]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fix narrow session refcount race 1820/head
authorSage Weil <sage@inktank.com>
Sun, 18 May 2014 01:33:36 +0000 (18:33 -0700)
committerSage Weil <sage@inktank.com>
Sun, 18 May 2014 01:33:36 +0000 (18:33 -0700)
commitc18da0482842e88ef81954ba8ae80128d1aad2ad
tree1cec6f72cfe147da75b0c73bc15a3e226d0d9213
parent2c4391b2895e040928e6295c3ec75d4b2dabd7d2
osd: fix narrow session refcount race

The set_priv() call consumes a ref.  Technically the local 's' is not
actually owned by use by the time we get to the con_front set_priv().

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/OSD.cc