commit | 80a40e439e5a3f30b0a6210a1add6d7c33392e54 | [log] [tgz] |
---|---|---|
author | Lars Ellenberg <lars.ellenberg@linbit.com> | Wed Aug 11 23:28:00 2010 +0200 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Thu Oct 14 18:38:19 2010 +0200 |
tree | 4442914b7bb70a1d9bde4be3cd3eb7085738ed66 | |
parent | 1d7734a0df02ff5068ff8baa1447c7baee601db1 [diff] |
drbd: reduce code duplication when receiving data requests 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>