]> www.infradead.org Git - users/jedix/linux-maple.git/commit
f2fs: Use a data folio in f2fs_submit_page_bio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 28 Nov 2024 04:58:24 +0000 (04:58 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 16 Dec 2024 16:12:19 +0000 (16:12 +0000)
commitf58d8645824b4885caa9e24989f8e601b5e7ed50
treeb883acdd326431ef86afffc4bf08d5b54107401b
parent0765b3f989a7eb757252951b21a244bfa3224561
f2fs: Use a data folio in f2fs_submit_page_bio()

Remove a call to compound_head().  We can call bio_add_folio_nofail()
here because we just allocated the bio, so we know it can't fail and
thus the error path can never be taken.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c