drbd: reduce code duplication when receiving data requests
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 11 Aug 2010 21:28:00 +0000 (23:28 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 14 Oct 2010 16:38:19 +0000 (18:38 +0200)
also canonicalize the return values of read_for_csum
and drbd_rs_begin_io to return -ESOMETHING, or 0 for success.

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

No differences found