drbd: Refuse to change network options online when...
authorPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 16 May 2011 12:30:24 +0000 (14:30 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:55:52 +0000 (16:55 +0100)
commitdcb20d1a8e7d9602e52a9b673ae4d7f746d2cbb2
tree34e9330fab46adf21f9ddf02b8cbea4b2050dbde
parentc5482bbd9607bf38cbc952eacaa429e6ba3160a0
drbd: Refuse to change network options online when...

* the peer does not speak protocol_version 100 and the
  user wants to change one of:
    - wire_protocol
    - two_primaries
    - integrity_alg

* the user wants to remove the allow_two_primaries flag
  when there are two primaries

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