summaryrefslogtreecommitdiffstats
path: root/drivers/pnp
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2011-04-27 10:25:28 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 16:49:08 +0100
commitd9cc6e231897a9ab1a94e6cfe12d71bfec0b7a81 (patch)
treef0ab01f5319972d672160f5ba1e1233f8bafbeb1 /drivers/pnp
parent5ee743e92d3b170a67b58c0c6ea169300983f58e (diff)
drbd: fix various disconnecting races
If an admin requests disconnect at a time when the state handling already disconnects/reconnects, there have been some races. Make sure to always really stop the network threads before returning success for disconnect. Do not pretend successfull forced disconnect, if the state handling returned an error. Return success from drbd_adm_down() only after all threads are finished. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions