From: Jason Dillaman Date: Mon, 30 Nov 2015 16:55:10 +0000 (-0500) Subject: librbd: not necessary to hold owner_lock while releasing snap id X-Git-Tag: v10.0.2~152^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F6736%2Fhead;p=ceph.git librbd: not necessary to hold owner_lock while releasing snap id Fixes: #13914 Signed-off-by: Jason Dillaman --- diff --git a/src/librbd/operation/SnapshotCreateRequest.cc b/src/librbd/operation/SnapshotCreateRequest.cc index a046c0812353..b1037012a831 100644 --- a/src/librbd/operation/SnapshotCreateRequest.cc +++ b/src/librbd/operation/SnapshotCreateRequest.cc @@ -232,7 +232,6 @@ bool SnapshotCreateRequest::send_create_object_map() { } bool SnapshotCreateRequest::send_release_snap_id() { - assert(m_image_ctx.owner_lock.is_locked()); if (m_snap_id != CEPH_NOSNAP && !m_snap_created) { CephContext *cct = m_image_ctx.cct; ldout(cct, 5) << this << " " << __func__ << ": snap_id=" << m_snap_id