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:57:36 +0100 |
| commit | db6e287bd6e80d58367baf05bf05af45856b9c2d (patch) | |
| tree | c9a7b8928918b91ac51a69aecf4404e7df219017 /tools/perf/scripts/python | |
| parent | 23f9f9c46edd97bd0d1b236bc186f635df32dac8 (diff) | |
| download | kernel-db6e287bd6e80d58367baf05bf05af45856b9c2d.tar.gz | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
