]> www.infradead.org Git - users/jedix/linux-maple.git/commit
f2fs: Use a folio in f2fs_readdir()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 31 Mar 2025 20:11:06 +0000 (21:11 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 28 Apr 2025 15:26:32 +0000 (15:26 +0000)
commitd040455c7911a6b9dc4b0489486ef83d73783378
tree1064220c15e1a4136a42becc7c7f5583312b7cb9
parent7d5a82490f94d12178acae381df8e3c2c1b7e968
f2fs: Use a folio in f2fs_readdir()

Get a folio instead of a page and use it throughout.  Also put the folio
before checking the error so we only have to do it once.  Saves two
hidden calls to compound_head().

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/dir.c