diff options
| author | Johannes Thumshirn <[email protected]> | 2023-05-31 04:50:24 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-05-31 09:50:02 -0600 |
| commit | cb58bf91b138c1a8b18cca9503308789e26e3522 (patch) | |
| tree | 6326898ac584b3b121578bb262d37f26385d95b4 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 1ccf164ec866cb8575ab9b2e219fca875089c60e (diff) | |
swap: use __bio_add_page to add page to bio
The swap 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]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Johannes Thumshirn <[email protected]>
Link: https://lore.kernel.org/r/5bdafd9de806b2dab92302b30eb7a3a5f10c37d9.1685532726.git.johannes.thumshirn@wdc.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions