drbd: Fix test of unsigned in _drbd_fault_random()
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 15 Dec 2009 21:55:44 +0000 (22:55 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 21 Dec 2009 12:37:29 +0000 (13:37 +0100)
commit49829ea74f790d3be2e803a617e714f5b9a5ed50
tree2704a2c65988e426a07aec9e5f5f83337fb2072b
parent7d4e9d0962cd0f6a30b01e256756dd10606dab30
drbd: Fix test of unsigned in _drbd_fault_random()

rsp->count is unsigned so the test does not work.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
drivers/block/drbd/drbd_main.c