]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: release cls lock if taken in RGWCompleteMultipart
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 3 Oct 2017 21:48:29 +0000 (17:48 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 1 Feb 2018 15:40:03 +0000 (10:40 -0500)
commit270498d63c287ffebbbf65ceb32cafc547be2fb3
tree3336717c2ea160ac9fc14a701d003524bbf28fcb
parent2b33c475d4b93f795bd5cc6ee7f1210c82ea7cd3
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