mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-06 18:57:23 +00:00
f2fs: Use a folio in move_data_block()
Fetch a folio from the pagecache instead of a page and operate on it throughout. Removes eight calls to compound_head() and 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>
This commit is contained in:
parent
6f8b9318c6
commit
c14b4562bc
1 changed files with 17 additions and 16 deletions
33
fs/f2fs/gc.c
33
fs/f2fs/gc.c
Loading…
Add table
Add a link
Reference in a new issue