Stefano Garzarella bb49c6fa8b block: clear iocb->private in blkdev_bio_end_io_async()
iocb_bio_iopoll() expects iocb->private to be cleared before
releasing the bio.

We already do this in blkdev_bio_end_io(), but we forgot in the
recently added blkdev_bio_end_io_async().

Fixes: 54a88eb838d3 ("block: add single bio async direct IO helper")
Cc: asml.silence@gmail.com
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220211090136.44471-1-sgarzare@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-02-22 06:59:49 -07:00
..
2022-01-22 08:33:38 +02:00
2021-08-18 07:21:12 -06:00
2021-06-17 15:51:20 +02:00
2021-12-06 13:18:47 -07:00
2020-03-17 20:55:21 +01:00
2022-01-17 07:24:45 -07:00
2021-09-14 00:22:15 -04:00
2021-10-18 06:17:01 -06:00
2022-01-12 10:26:52 -08:00
2021-11-29 06:34:50 -07:00