]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcache: use bio_add_virt_nofail
authorChristoph Hellwig <hch@lst.de>
Wed, 7 May 2025 12:04:32 +0000 (14:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 May 2025 13:31:07 +0000 (07:31 -0600)
commit23f5d69dfa993cb6d17e619fff5e623e76b9b17f
treeb4d80bc8b635a8d0ce49d00117585c3703e55cc4
parent6ff54f456671415e101e671a7dfa1fe13a31bdb5
bcache: use bio_add_virt_nofail

Convert the __bio_add_page(..., virt_to_page(), ...) pattern to the
bio_add_virt_nofail helper implementing it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Coly Li <colyli@kernel.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20250507120451.4000627-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/super.c