]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit213baa3fbeb3e3c8b9ae58b36973369850963ecb
tree553eee6fd3a8c048c2fbc047d1629928ebe0bd2d
parentd1c3fb6b22379a9df7f7161bdb50abdc73134fde
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