ceph: fix connection fault STANDBY check
authorSage Weil <sage@newdream.net>
Thu, 25 Feb 2010 20:40:45 +0000 (12:40 -0800)
committerSage Weil <sage@newdream.net>
Thu, 25 Feb 2010 20:40:45 +0000 (12:40 -0800)
Move any out_sent messages to out_queue _before_ checking if
out_queue is empty and going to STANDBY, or else we may drop
something that was never acked.

And clean up the code a bit (less goto).

Signed-off-by: Sage Weil <sage@newdream.net>

No differences found