Johannes Thumshirn effa7ddeeb gfs2: use __bio_add_page for adding single page to bio
The GFS2 superblock reading code uses bio_add_page() to add a page to a
newly created bio. bio_add_page() can fail, but the return value is never
checked.

Use __bio_add_page() as adding a single page to a newly created bio is
guaranteed to succeed.

This brings us a step closer to marking bio_add_page() as __must_check.

Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/087c67d4e4973f949d3519c1e4822784ce583c5a.1685532726.git.johannes.thumshirn@wdc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-05-31 09:50:02 -06:00
..
2023-01-19 09:24:28 +01:00
2023-01-19 09:24:27 +01:00
2023-04-18 14:40:12 +02:00
2023-04-18 14:40:12 +02:00
2022-08-06 14:44:49 -07:00
2023-01-31 22:40:24 +01:00
2023-01-31 22:40:24 +01:00
2023-03-27 14:42:16 +02:00
2022-08-03 10:35:43 -07:00
2022-09-11 20:26:06 -07:00
2023-05-10 17:15:18 +02:00
2023-02-24 12:58:55 -08:00
2023-03-06 09:57:12 +01:00