drbd: drbd_md_sync before calling user space helpers
authorLars Ellenberg <lars.ellenberg@linbit.com>
Mon, 19 Jul 2010 15:41:04 +0000 (17:41 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 14 Oct 2010 16:38:31 +0000 (18:38 +0200)
commit1090c056c5eb6d5335cceb381683e77ac24c71ab
tree66c38894d55a57797a27569ec77dd5090a9b08f3
parentee15b038164fcf19b798021762dee3cf5cbc6433
drbd: drbd_md_sync before calling user space helpers

Just in case we have some pending meta data changes to sync, do it
before we call our userland helper, as that may take some time,
or even cause a hard reboot.

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