diff options
author | Jens Axboe <[email protected]> | 2023-02-24 09:59:44 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-02-24 13:19:56 -0700 |
commit | 11eb695feb636fa5211067189cad25ac073e7fe5 (patch) | |
tree | 012349714053961ee1949a16487b67951f93f7f7 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 9f6ad5d533d1c71e51bdd06a5712c4fbc8768dfa (diff) |
block: clear bio->bi_bdev when putting a bio back in the cache
This isn't strictly needed in terms of correctness, but it does allow
polling to know if the bio has been put already by a different task
and hence avoid polling something that we don't need to.
Cc: [email protected]
Fixes: be4d234d7aeb ("bio: add allocation cache abstraction")
Reviewed-by: Keith Busch <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions