diff options
| author | Shida Zhang <zhangshida@kylinos.cn> | 2025-12-09 17:01:56 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-02-06 16:55:43 +0100 |
| commit | 39c607f892c0bfd804a4e0792dd1ce47f6319def (patch) | |
| tree | 843a23e8950cb7cc6d8460638aa6ae3147293723 /include/net/aligned_data.h | |
| parent | 815a8e3bf72811d402b30bd4a53cde5e9df7a563 (diff) | |
bcache: fix improper use of bi_end_io
[ Upstream commit 53280e398471f0bddbb17b798a63d41264651325 ]
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>
Stable-dep-of: 4da7c5c3ec34 ("bcache: fix I/O accounting leak in detached_dev_do_request")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
