drbd: in drbd_suspend_al, set AL_SUSPENDED before unlocking the activity log
authorLars Ellenberg <lars.ellenberg@linbit.com>
Mon, 21 Feb 2011 12:20:54 +0000 (13:20 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 14 Oct 2011 14:47:41 +0000 (16:47 +0200)
commit61610420f764acb835af4a450251dbab2ab6d621
tree5f69d311340df80571d6e8655214ead7df598eea
parent867f57483b1759f8cd76ec31ff1f37abde5ad577
drbd: in drbd_suspend_al, set AL_SUSPENDED before unlocking the activity log

As using an empty activity log is the whole point of the excercise,
make sure it is still empty when setting AL_SUSPENDED.

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