commit | b6e7b6a11923bda6102b4e3e196693567944869c | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Tue Feb 19 12:25:57 2013 -0600 |
committer | Alex Elder <elder@inktank.com> | Mon Feb 25 15:37:32 2013 -0600 |
tree | 553eee6fd3a8c048c2fbc047d1629928ebe0bd2d | |
parent | 93209264203987cdd2c69d34df6eaa2cd184e283 [diff] |
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>