aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-07-02 15:10:22 +0000
committerJens Axboe <[email protected]>2024-07-03 16:21:16 +0000
commitf8924374fd37a8b41d554acd8b7407af7d354c0d (patch)
treec2dae00ec947121849defabe69d9b54300d444ff /rust/helpers.c
parentblock: don't call bio_uninit from bio_endio (diff)
downloadkernel-f8924374fd37a8b41d554acd8b7407af7d354c0d.tar.gz
kernel-f8924374fd37a8b41d554acd8b7407af7d354c0d.zip
block: call bio_integrity_unmap_free_user from blk_rq_unmap_user
blk_rq_unmap_user always unmaps user space pass-through request. If such a request has integrity data attached it must come from a user mapping as well. Call bio_integrity_unmap_free_user from blk_rq_unmap_user and remove the nvme_unmap_bio wrapper in the nvme driver. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Kanchan Joshi <[email protected]> Reviewed-by: Anuj Gupta <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions