]> www.infradead.org Git - users/jedix/linux-maple.git/commit
f2fs: Use a folio in add_ipu_page()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 31 Mar 2025 20:10:26 +0000 (21:10 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 28 Apr 2025 15:18:13 +0000 (15:18 +0000)
commit1db30d82365b3feacc21a1bd9158f7b14e2d0500
tree44cba48eb51cbeac2ca7af6810ae1e86f66c960f
parentacede6a57360ec361943c9eb8c4b8d2387af67e9
f2fs: Use a folio in add_ipu_page()

Convert the incoming page to a folio at the start, then use the
folio later in the function.  Moves a call to page_folio() earlier,
and removes an access to page->mapping.

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