mirror-linux/drivers/md/bcache
Shida Zhang 53280e3984 bcache: fix improper use of bi_end_io
Don't call bio->bi_end_io() directly. Use the bio_endio() helper
function instead, which handles completion more safely and uniformly.

Suggested-by: Christoph Hellwig <hch@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Shida Zhang <zhangshida@kylinos.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-12-09 10:20:03 -07:00
..
Kconfig bcache: remove unnecessary select MIN_HEAP 2025-06-19 20:48:03 -07:00
Makefile bcache: move closures to lib/ 2023-10-19 14:47:33 -04:00
alloc.c bcache: reduce gc latency by processing less nodes and sleep less time 2025-11-13 09:18:06 -07:00
bcache.h bcache: reduce gc latency by processing less nodes and sleep less time 2025-11-13 09:18:06 -07:00
bcache_ondisk.h flexible-array transformations for 6.3-rc1 2023-02-25 12:53:42 -08:00
bset.c Revert "bcache: remove heap-related macros and switch to generic min_heap" 2025-06-19 20:48:03 -07:00
bset.h bcache: Avoid -Wflex-array-member-not-at-end warning 2025-11-13 09:18:06 -07:00
btree.c bcache: WQ_PERCPU added to alloc_workqueue users 2025-11-13 09:18:06 -07:00
btree.h Locking changes for v6.5: 2023-06-27 14:14:30 -07:00
debug.c block: add a bio_init_inline helper 2025-09-09 07:31:59 -06:00
debug.h
extents.c Revert "bcache: remove heap-related macros and switch to generic min_heap" 2025-06-19 20:48:03 -07:00
extents.h
features.c
features.h
io.c block: add a bio_init_inline helper 2025-09-09 07:31:59 -06:00
journal.c bcache: get rid of discard code from journal 2025-11-13 09:18:06 -07:00
journal.h bcache: get rid of discard code from journal 2025-11-13 09:18:06 -07:00
movinggc.c block: remove the bi_inline_vecs variable sized array from struct bio 2025-09-09 07:31:59 -06:00
request.c bcache: fix improper use of bi_end_io 2025-12-09 10:20:03 -07:00
request.h closures: CLOSURE_CALLBACK() to fix type punning 2023-11-24 00:29:58 -05:00
stats.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
stats.h bcache: Remove dead references to cache_readaheads 2023-06-15 07:30:11 -06:00
super.c bcache: WQ_PERCPU added to alloc_workqueue users 2025-11-13 09:18:06 -07:00
sysfs.c bcache: drop discard sysfs interface 2025-11-13 09:18:06 -07:00
sysfs.h bcache: make kobj_type structures constant 2023-06-15 07:30:11 -06:00
trace.c
util.c bcache: fix typo 2024-06-24 22:24:56 -07:00
util.h Revert "bcache: remove heap-related macros and switch to generic min_heap" 2025-06-19 20:48:03 -07:00
writeback.c bcache: WQ_PERCPU added to alloc_workqueue users 2025-11-13 09:18:06 -07:00
writeback.h