]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drbd: Fixed handling of read errors on a 'VerifyS' node
authorPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 2 Mar 2011 22:14:44 +0000 (23:14 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:48:20 +0000 (11:48 +0100)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_worker.c

index 7db29080f3639852f9f4d93ed8afef9f9c79ef09..f7e6c92f8d03d001c1a452fe92b0c605c450bd38 100644 (file)
@@ -1151,10 +1151,6 @@ int w_e_end_ov_reply(struct drbd_conf *mdev, struct drbd_work *w, int cancel)
                        eq = !memcmp(digest, di->digest, digest_size);
                        kfree(digest);
                }
-       } else {
-               ok = drbd_send_ack(mdev, P_NEG_RS_DREPLY, e);
-               if (__ratelimit(&drbd_ratelimit_state))
-                       dev_err(DEV, "Sending NegDReply. I guess it gets messy.\n");
        }
 
        dec_unacked(mdev);