drbd: Make sure we do not send state updates during an empty resync [Bugz 271]
authorPhilipp Reisner <philipp.reisner@linbit.com>
Tue, 2 Mar 2010 14:06:45 +0000 (15:06 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 11 Mar 2010 15:10:40 +0000 (16:10 +0100)
commitd0c3f60f3611ceac9b1e4fdffd1497337568e7cb
treeeb351f4e76a99dfed3545c52f1facf65e605be79
parent309d1608cce32903d67d47e7545e232c400b6aa0
drbd: Make sure we do not send state updates during an empty resync [Bugz 271]

This is a race condition that existed for ages.
The previous commit reduces the window, this one closes it.

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