drbd: Ignore the exit code of a fence-peer handler if it returns too late
authorPhilipp Reisner <philipp.reisner@linbit.com>
Tue, 25 Jun 2013 14:50:06 +0000 (16:50 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Jun 2013 14:04:36 +0000 (16:04 +0200)
commit28e448bb30d0f3fc7daa652d2d3a30adaf9e171b
treea55a604af453136e8021e62f4ab9656e7a3da4ec
parentf9eb7bf424e766e00bbc6d69fd7eaaf4bd003cf9
drbd: Ignore the exit code of a fence-peer handler if it returns too late

In case the connection was established and lost again before
the a fence-peer handler returns, ignore the exit code of this
instance. (And use the exit code of the later started instance)

Signed-off-by: Andreas Gruenbacher <agruen@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_nl.c
drivers/block/drbd/drbd_state.c