From: Liu Song Date: Wed, 18 Nov 2020 14:01:04 +0000 (+0800) Subject: f2fs: remove writeback_inodes_sb in f2fs_remount X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9f7e334aec1671b89df12b98002705cb254de5d9;p=linux.git f2fs: remove writeback_inodes_sb in f2fs_remount Since sync_inodes_sb has been used, there is no need to use writeback_inodes_sb, so remove it. Signed-off-by: Liu Song Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index fef22e476c526..0ec292d7fcdb7 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -1904,7 +1904,6 @@ static int f2fs_remount(struct super_block *sb, int *flags, char *data) if (*flags & SB_RDONLY || F2FS_OPTION(sbi).whint_mode != org_mount_opt.whint_mode) { - writeback_inodes_sb(sb, WB_REASON_SYNC); sync_inodes_sb(sb); set_sbi_flag(sbi, SBI_IS_DIRTY);