]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drbd: fix test of unsigned in _drbd_fault_random()
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 18 Dec 2009 11:38:11 +0000 (12:38 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 18 Dec 2009 11:38:11 +0000 (12:38 +0100)
commit4a63b030d75a063b910b2bab014d84837cb33eb7
tree434f97934498ea53c3dbe6c97b5ac38a96418e3d
parent1de6129f381b4907013ccea08a3bdea8c966d50a
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>
Cc: Lars Ellenberg <drbd-dev@lists.linbit.com>
Cc: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/drbd/drbd_main.c