drbd: Cleaned up the resync timer logic
authorPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 27 Dec 2010 10:51:23 +0000 (11:51 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:45:28 +0000 (11:45 +0100)
Besides removed a few lines of code, this moves the inspection
of the state from before the queuing process to after the queuing.
I.e. more closely to the actual invocation of the work.

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

Simple merge
Simple merge
Simple merge