f2fs: relocate f2fs_precache_extents() in f2fs_swap_activate()
authorChao Yu <chao@kernel.org>
Mon, 26 Feb 2024 01:32:06 +0000 (09:32 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 4 Mar 2024 17:51:52 +0000 (09:51 -0800)
commitf1e7646a8cd446c2003c5f98a89880eb987dec72
treea4d741c5572dc1e82dd15f60d60b92b7ab69e0cf
parent8249aac1b05c28f3b35363b844b5b0194f838052
f2fs: relocate f2fs_precache_extents() in f2fs_swap_activate()

This patch exchangs position of f2fs_precache_extents() and
filemap_fdatawrite(), so that f2fs_precache_extents() can load
extent info after physical addresses of all data are fixed.

Signed-off-by: Chao Yu <chao@kernel.org>
Reviewed-by: Daeho Jeong <daehojeong@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c