]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
messenger: always unlock existing pipes, even if they're lossy
authorGreg Farnum <gregf@hq.newdream.net>
Tue, 26 Oct 2010 23:28:48 +0000 (16:28 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Tue, 26 Oct 2010 23:28:48 +0000 (16:28 -0700)
src/msg/SimpleMessenger.cc

index 73374428e300ef863f651cd1b4247a599f21f010..51e64693cfa19311f576c50a65ac7a7781b34a9f 100644 (file)
@@ -829,9 +829,8 @@ int SimpleMessenger::Pipe::accept()
          p != existing->out_q.end();
          p++)
       out_q[p->first].splice(out_q[p->first].begin(), p->second);
-
-    existing->pipe_lock.Unlock();
   }
+  existing->pipe_lock.Unlock();
 
  open:
   // open