]> git.ipfire.org Git - thirdparty/linux.git/commit
f2fs: use folio_nr_pages() instead of shift operation
authorPedro Demarchi Gomes <pedrodemargomes@gmail.com>
Sat, 4 Oct 2025 03:12:17 +0000 (00:12 -0300)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 24 Oct 2025 21:23:55 +0000 (21:23 +0000)
commite4384545e22024d39edc13c63433f37e31960671
treee95ce2187f90f7bc738751e0510a71926755e2dd
parent81464df36094340395cadc9235e24eb4defa8c43
f2fs: use folio_nr_pages() instead of shift operation

folio_nr_pages() is a faster helper function to get the number of pages when
NR_PAGES_IN_LARGE_FOLIO is enabled.

Signed-off-by: Pedro Demarchi Gomes <pedrodemargomes@gmail.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h