]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: release rgw_fh lock and ref on ENOTEMPTY 15246/head
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 23 May 2017 19:05:45 +0000 (15:05 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Tue, 23 May 2017 19:44:59 +0000 (15:44 -0400)
commit51c25593dd741b4df2e839fcef82b143f8c8cfca
treec703062f88e54d10299355e7c408d2d874d4b678
parent344135f2c5281fec8ed2ef5b2dfc29cde40c2baf
rgw_file: release rgw_fh lock and ref on ENOTEMPTY

An early return in new unlink bucket num_entries check was
missing a conditional unlock and unref.

Fixes: http://tracker.ceph.com/issues/20061
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.cc