]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: hold a reference on data_sync_cr over run() 11506/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 11 Oct 2016 19:21:42 +0000 (15:21 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 14 Oct 2016 20:45:10 +0000 (16:45 -0400)
commit4cf0d2a768e7402e71280ca16b47353ca2a68505
tree7a5805a1e694f37c4307ec3affe4db31289fd378
parent5cc599b9bf2dde31de16a5b2831baf06851d69d5
rgw: hold a reference on data_sync_cr over run()

run() will drop its reference to data_sync_cr, so we need to hold a
reference until we can reacquire the lock

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_data_sync.cc