aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_worker.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-03-15 20:31:39 -0400
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 10:44:38 -0500
commitfa79abd893f21f458c74af8bca015aa2ef7486a5 (patch)
tree3861f6ad2d31ee561ad5a4fd303db082b2cf63e6 /drivers/block/drbd/drbd_worker.c
parenta9a9994dc70f388e91cf4bcc971843084f9af44f (diff)
drbd: drbd_send_ack_ex(): Return 0 upon success and an error code otherwise
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_worker.c')
-rw-r--r--drivers/block/drbd/drbd_worker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_worker.c b/drivers/block/drbd/drbd_worker.c
index 69db6de984c0..9b740864b51c 100644
--- a/drivers/block/drbd/drbd_worker.c
+++ b/drivers/block/drbd/drbd_worker.c
@@ -1163,8 +1163,8 @@ int w_e_end_ov_reply(struct drbd_work *w, int cancel)
1163 else 1163 else
1164 ov_oos_print(mdev); 1164 ov_oos_print(mdev);
1165 1165
1166 ok = drbd_send_ack_ex(mdev, P_OV_RESULT, sector, size, 1166 ok = !drbd_send_ack_ex(mdev, P_OV_RESULT, sector, size,
1167 eq ? ID_IN_SYNC : ID_OUT_OF_SYNC); 1167 eq ? ID_IN_SYNC : ID_OUT_OF_SYNC);
1168 1168
1169 dec_unacked(mdev); 1169 dec_unacked(mdev);
1170 1170