f2fs: make f2fs_sync_inode_meta() static
authorLi Zetao <lizetao1@huawei.com>
Thu, 23 Feb 2023 01:25:13 +0000 (01:25 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 29 Mar 2023 22:17:37 +0000 (15:17 -0700)
commit60630375064f6f5124316dc372cdbed482a11f1e
tree14947df8561cb103dcd7d9b83fdcbfe9fa9256e6
parentffe78bbd512166e0ef1cc4858010b128c510ed7d
f2fs: make f2fs_sync_inode_meta() static

After commit 26b5a079197c ("f2fs: cleanup dirty pages if recover failed"),
f2fs_sync_inode_meta() is only used in checkpoint.c, so
f2fs_sync_inode_meta() should only be visible inside. Delete the
declaration in the header file and change f2fs_sync_inode_meta()
to static.

Signed-off-by: Li Zetao <lizetao1@huawei.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h