]> git.ipfire.org Git - thirdparty/linux.git/commit
f2fs: clean up w/ bio_add_folio_nofail()
authorChao Yu <chao@kernel.org>
Tue, 14 Oct 2025 06:27:01 +0000 (14:27 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 4 Dec 2025 01:55:56 +0000 (01:55 +0000)
commit28b68b2a3b2fae3789717ca9e306ae8f01269849
tree161db2c0c5c0f1de137bc58737e4314d66f5125e
parent2308de27c03d8ed75b28dab2354eb02c5f8e69be
f2fs: clean up w/ bio_add_folio_nofail()

In add_bio_entry(), adding a page to newly allocated bio should never fail,
let's use bio_add_folio_nofail() instead of bio_add_page() & unnecessary
error handling for cleanup.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c