drbd: Fix the data-integrity-alg setting
authorAndreas Gruenbacher <agruen@linbit.com>
Sun, 17 Jul 2011 21:06:12 +0000 (23:06 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:57:59 +0000 (16:57 +0100)
commit7d4c782cbda4af0d7dc39cb8e7d50a927781aa1f
tree6876345c8a624293cf269471f87b8621449e6e9b
parent71fc7eedb37585ab2f1bec2e615202908bd4f4b7
drbd: Fix the data-integrity-alg setting

The last data-integrity-alg fix made data integrity checking work when the
algorithm was changed for an established connection, but the common case of
configuring the algorithm before connecting was still broken.  Fix that.

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