]> www.infradead.org Git - users/hch/misc.git/commit
xfs: simplify xfs_buf_submit_bio
authorChristoph Hellwig <hch@lst.de>
Thu, 10 Apr 2025 10:57:33 +0000 (12:57 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 29 Apr 2025 19:03:20 +0000 (14:03 -0500)
commit2f2709400e8c10a5f9cb2afe0ea7e1bef57e6ef6
treee8697f68ac3cf89df70e069198ef9974374a351a
parentf52f1f3a92b5fbc04343a80be06820bf5b88e807
xfs: simplify xfs_buf_submit_bio

Convert the __bio_add_page(..., virt_to_page(), ...) pattern to the
bio_add_virt_nofail helper implementing it and use bio_add_vmalloc
to insulate xfs from the details of adding vmalloc memory to a bio.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_buf.c