aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-01-26 06:53:42 +0100
committerJens Axboe <axboe@kernel.dk>2026-01-28 05:16:40 -0700
commit45cec0de6c8973660da279e44b24d37af49daeb6 (patch)
tree638092462715d2b2b1f940e103d16f137d3dcf4b /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com
parentiomap: share code between iomap_dio_bio_end_io and iomap_finish_ioend_direct (diff)
iomap: free the bio before completing the dio
There are good arguments for processing the user completions ASAP vs. freeing resources ASAP, but freeing the bio first here removes potential use after free hazards when checking flags, and will simplify the upcoming bounce buffer support. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Tested-by: Anuj Gupta <anuj20.g@samsung.com> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions