drbd: Fixed removal of volumes/devices from connected resources
authorPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 6 Jul 2011 21:04:44 +0000 (23:04 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:57:51 +0000 (16:57 +0100)
commit369bea63711ae0595f6ef8c3c02bbf8a17ec608a
treec6b21e90ed8035c1d018e7be70ac26bc9d27a9e2
parentd5d7ebd42250620a6da2a8f6943c024391433488
drbd: Fixed removal of volumes/devices from connected resources

When removing a volume/device we need to switch the connection
status of the peer back into WFReportParams.

  Before this fix it was left in Connected state. That means that
  the peer device continued to inform us about state changes, etc...
  But we deleted that minor -> protocol error.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_nl.c
drivers/block/drbd/drbd_receiver.c
drivers/block/drbd/drbd_state.c