mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 04:56:13 +02:00
f2fs: keep lazytime on remount
This patch fixes losing lazytime when remounting f2fs. Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
129674a584
commit
092a13da9c
|
|
@ -1551,6 +1551,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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user