Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87338b17 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: keep lazytime on remount



This patch fixes losing lazytime when remounting f2fs.

Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 9cc70326
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1550,6 +1550,7 @@ static int f2fs_remount(struct super_block *sb, int *flags, char *data)
		(test_opt(sbi, POSIX_ACL) ? MS_POSIXACL : 0);

	limit_reserve_root(sbi);
	*flags = (*flags & ~MS_LAZYTIME) | (sb->s_flags & MS_LAZYTIME);
	return 0;
restore_gc:
	if (need_restart_gc) {