]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: release cls lock if taken in RGWCompleteMultipart 18430/head
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 3 Oct 2017 21:48:29 +0000 (17:48 -0400)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 20 Oct 2017 14:45:06 +0000 (16:45 +0200)
commit0e65ea466f05a2bc8825e51b32901d74082c1b65
tree714a3aff8a1dc2b11f9521032650df977f69bd3a
parent5a4850c8c66b75d02fc2597e1ca744c6b0303836
rgw: release cls lock if taken in RGWCompleteMultipart

Follows Casey's proposal to conditionally release the lock in
::complete(), in order to avoid duplicated code in various early
return cases.

Fixes: http://tracker.ceph.com/issues/21596
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 704f793f08a02760d23eb5778b738bb07be0e7cf)
src/rgw/rgw_op.cc
src/rgw/rgw_op.h