]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: not necessary to hold owner_lock while releasing snap id 6736/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 30 Nov 2015 16:55:10 +0000 (11:55 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 30 Nov 2015 16:55:10 +0000 (11:55 -0500)
Fixes: #13914
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/operation/SnapshotCreateRequest.cc

index a046c0812353f428ba068bf5476c1ee32e4d4a7e..b1037012a8316bfef6b151608638b78d4c9a69e9 100644 (file)
@@ -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