diff options
author | Gaosheng Cui <cuigaosheng1@huawei.com> | 2022-09-20 09:52:16 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-21 19:44:05 -0600 |
commit | 7f0c1afeacfcb4c32173b5a120ec0a362b79bd71 (patch) | |
tree | 55ad55c44e3c31006e88dcbd8b2c7ea0fc5e15f1 | |
parent | a437df5f8bbc6b52231bbeaef8b4052698c9007a (diff) | |
download | linux-stable-7f0c1afeacfcb4c32173b5a120ec0a362b79bd71.tar.gz linux-stable-7f0c1afeacfcb4c32173b5a120ec0a362b79bd71.tar.bz2 linux-stable-7f0c1afeacfcb4c32173b5a120ec0a362b79bd71.zip |
block/drbd: remove useless comments in receive_DataReply()
All implementations of req->collision, _req_may_be_done and
drbd_fail_pending_reads have been removed, so remove the comments
in receive_DataReply() that provide no useful information.
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Acked-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
Link: https://lore.kernel.org/r/20220920015216.782190-3-cuigaosheng1@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | drivers/block/drbd/drbd_receiver.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c index af4c7d65490b..c897c4572036 100644 --- a/drivers/block/drbd/drbd_receiver.c +++ b/drivers/block/drbd/drbd_receiver.c @@ -2113,9 +2113,6 @@ static int receive_DataReply(struct drbd_connection *connection, struct packet_i if (unlikely(!req)) return -EIO; - /* hlist_del(&req->collision) is done in _req_may_be_done, to avoid - * special casing it there for the various failure cases. - * still no race with drbd_fail_pending_reads */ err = recv_dless_read(peer_device, req, sector, pi->size); if (!err) req_mod(req, DATA_RECEIVED); |