diff options
| author | Stefano Garzarella <[email protected]> | 2022-02-11 09:01:36 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-02-22 13:59:49 +0000 |
| commit | bb49c6fa8b845591b317b0d7afea4ae60ec7f3aa (patch) | |
| tree | 000086c1b01dbb4dbd9edf1d47353eb7dc50ea50 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | block/wbt: fix negative inflight counter when remove scsi device (diff) | |
| download | kernel-bb49c6fa8b845591b317b0d7afea4ae60ec7f3aa.tar.gz kernel-bb49c6fa8b845591b317b0d7afea4ae60ec7f3aa.zip | |
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: [email protected]
Signed-off-by: Stefano Garzarella <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions
