drbd: Fixed race condition in drbd_queue_bitmap_io
authorPhilipp Reisner <philipp.reisner@linbit.com>
Tue, 16 Nov 2010 14:30:44 +0000 (15:30 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:35:03 +0000 (11:35 +0100)
May only test for ap_bio_cnt == 0 under req_lock. It can increase
only under req_lock.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>

No differences found