libceph: use a flag to indicate a fault has occurred
authorAlex Elder <elder@inktank.com>
Tue, 19 Feb 2013 18:25:57 +0000 (12:25 -0600)
committerAlex Elder <elder@inktank.com>
Mon, 25 Feb 2013 21:37:32 +0000 (15:37 -0600)
commitb6e7b6a11923bda6102b4e3e196693567944869c
tree553eee6fd3a8c048c2fbc047d1629928ebe0bd2d
parent93209264203987cdd2c69d34df6eaa2cd184e283
libceph: use a flag to indicate a fault has occurred

This just rearranges the logic in con_work() a little bit so that a
flag is used to indicate a fault has occurred.  This allows both the
fault and non-fault case to be handled the same way and avoids a
couple of nearly consecutive gotos.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
net/ceph/messenger.c