]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: hold a reference on data_sync_cr over run() 13886/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 11 Oct 2016 19:21:42 +0000 (15:21 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 14 Mar 2017 13:54:22 +0000 (09:54 -0400)
commit0be4e89419f2083d081ac784891e4653290cd530
treefc7cdf3335378611dfd3f794b170e3ff6e39aed6
parent18ffdb7baf4aff1fd7f894af1054081f3ee61d28
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>
(cherry picked from commit 4cf0d2a768e7402e71280ca16b47353ca2a68505)
src/rgw/rgw_data_sync.cc