diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-02 17:14:44 -0500 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 05:48:20 -0500 |
commit | 7961243b7bdd62d72b47eb2c0bee776c51a8a8e2 (patch) | |
tree | c2fc7da055b61cc4f9b041524a2f873612f3104c /drivers/block/drbd | |
parent | 8f21420ebd5ca5a751e2f606b49b0acd2a2af314 (diff) |
drbd: Fixed handling of read errors on a 'VerifyS' node
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd')
-rw-r--r-- | drivers/block/drbd/drbd_worker.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/block/drbd/drbd_worker.c b/drivers/block/drbd/drbd_worker.c index 7db29080f363..f7e6c92f8d03 100644 --- a/drivers/block/drbd/drbd_worker.c +++ b/drivers/block/drbd/drbd_worker.c | |||
@@ -1151,10 +1151,6 @@ int w_e_end_ov_reply(struct drbd_conf *mdev, struct drbd_work *w, int cancel) | |||
1151 | eq = !memcmp(digest, di->digest, digest_size); | 1151 | eq = !memcmp(digest, di->digest, digest_size); |
1152 | kfree(digest); | 1152 | kfree(digest); |
1153 | } | 1153 | } |
1154 | } else { | ||
1155 | ok = drbd_send_ack(mdev, P_NEG_RS_DREPLY, e); | ||
1156 | if (__ratelimit(&drbd_ratelimit_state)) | ||
1157 | dev_err(DEV, "Sending NegDReply. I guess it gets messy.\n"); | ||
1158 | } | 1154 | } |
1159 | 1155 | ||
1160 | dec_unacked(mdev); | 1156 | dec_unacked(mdev); |