diff options
| author | Johannes Thumshirn <[email protected]> | 2023-05-31 04:50:25 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-05-31 09:50:02 -0600 |
| commit | 8f11f79f193c935da617375ba5ea4e768a73a094 (patch) | |
| tree | 32576d622c1ebad0c69aefa9ef51e74ebaa8ffb0 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | cb58bf91b138c1a8b18cca9503308789e26e3522 (diff) | |
drbd: use __bio_add_page to add page to bio
The drbd code only adds a single page to a newly created bio. So use
__bio_add_page() to add the page which is guaranteed to succeed in this
case.
This brings us closer to marking bio_add_page() as __must_check.
Reviewed-by: Damien Le Moal <[email protected]>
Signed-off-by: Johannes Thumshirn <[email protected]>
Link: https://lore.kernel.org/r/435007afac14f3766455559059d21843771fae53.1685532726.git.johannes.thumshirn@wdc.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions