Johannes Thumshirn c2478469f2 fs: iomap: use bio_add_folio_nofail where possible
When the iomap buffered-io code can't add a folio to a bio, it allocates a
new bio and adds the folio to that one. This is done using bio_add_folio(),
but doesn't check for errors.

As adding a folio to a newly created bio can't fail, use the newly
introduced bio_add_folio_nofail() function.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/58fa893c24c67340a63323f09a179fefdca07f2a.1685532726.git.johannes.thumshirn@wdc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-06-01 09:13:31 -06:00
..
2023-05-24 08:42:16 -06:00
2023-05-24 08:42:16 -06:00
2023-05-24 08:42:16 -06:00
2023-05-24 08:42:16 -06:00
2023-02-27 10:04:49 -08:00
2023-04-26 16:07:23 -07:00
2023-05-24 08:42:16 -06:00
2023-04-29 11:04:14 -07:00
2023-05-24 08:42:16 -06:00
2023-04-29 11:04:14 -07:00
2023-04-27 17:03:40 -07:00
2023-03-14 12:56:30 -06:00
2023-05-24 08:42:16 -06:00
2023-03-30 08:51:48 +02:00
2023-04-08 13:45:37 -07:00
2023-04-05 18:06:23 -07:00
2022-10-10 19:45:17 -07:00
2023-04-28 15:57:53 -07:00
2023-02-20 11:53:11 -08:00
2023-05-06 08:28:58 -07:00
2022-10-10 14:21:11 -07:00
2023-01-19 09:24:30 +01:00
2023-04-24 19:14:20 -07:00
2023-04-06 14:53:38 +02:00
2023-03-06 09:59:20 +01:00
2023-02-20 11:53:11 -08:00
2023-02-20 11:53:11 -08:00
2023-03-06 09:59:20 +01:00