]> git.karo-electronics.de Git - linux-beck.git/commit
drbd: Fixed inc_ap_bio()
authorPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 17 Nov 2010 17:24:19 +0000 (18:24 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:35:01 +0000 (11:35 +0100)
commit8869d683b7491467fd39fcbe79756fce3e6f35e7
treeb8634a30967f36ff34f4de8ecf38eb96997f5f28
parent127b317844e7cc0458743b604998bece95eab030
drbd: Fixed inc_ap_bio()

The condition must be checked after perpare_to_wait(). The old
implementaion could loose wakeup events. Never observed in real
life.

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