summaryrefslogtreecommitdiff
path: root/fs/f2fs
diff options
context:
space:
mode:
authorLiu Song <liu.song11@zte.com.cn>2020-11-18 22:01:04 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2020-12-02 22:00:20 -0800
commit9f7e334aec1671b89df12b98002705cb254de5d9 (patch)
tree06ff752a47a12d2e30dd62b3312e549f83572695 /fs/f2fs
parent89ff6005039a878afac87889fee748fa3f957c3a (diff)
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 <liu.song11@zte.com.cn> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index fef22e476c52..0ec292d7fcdb 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);