drbd: silence underflow warning in read_in_block()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 6 May 2014 11:28:32 +0000 (14:28 +0300)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Jul 2014 16:35:23 +0000 (18:35 +0200)
My static checker warns that "data_size" could be negative and underflow
the limit check.  The code looks suspicious but I don't know if it is a
real bug.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>

No differences found