diff options
| author | Shida Zhang <zhangshida@kylinos.cn> | 2025-12-09 17:01:56 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-12-09 10:20:03 -0700 |
| commit | 53280e398471f0bddbb17b798a63d41264651325 (patch) | |
| tree | d2b33cd82747321adb70ab18a4764188a2d9c482 /samples/rust/rust_driver_platform.rs | |
| parent | 87213b0d847cd300285b5545598e0548baeb5208 (diff) | |
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>
Diffstat (limited to 'samples/rust/rust_driver_platform.rs')
0 files changed, 0 insertions, 0 deletions
