diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2023-05-31 04:50:26 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-05-31 09:50:02 -0600 |
commit | fc8ac3e539561aff1c0a255d701d9412d425373c (patch) | |
tree | c1c10ed85b64c4f82786febfbeafdf222bd44143 /fs/buffer.c | |
parent | 8f11f79f193c935da617375ba5ea4e768a73a094 (diff) |
dm: dm-zoned: use __bio_add_page for adding single metadata page
dm-zoned uses bio_add_page() for adding a single page to a freshly created
metadata bio.
Use __bio_add_page() instead as adding a single page to a new bio is
always guaranteed to succeed.
This brings us a step closer to marking bio_add_page() __must_check
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/55a0c8dad7550379647873b579dc7cfbe0191f96.1685532726.git.johannes.thumshirn@wdc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions