diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-09-28 10:24:39 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-10-01 02:50:46 +0300 |
commit | 095680f24f2673d860fd1d3d2f54f40f330b4c63 (patch) | |
tree | e3fada48ebffa551d205d2af4147d83e0064b67b /fs/f2fs/super.c | |
parent | 89d13c38501df730cbb2e02c4499da1b5187119d (diff) | |
download | linux-095680f24f2673d860fd1d3d2f54f40f330b4c63.tar.xz |
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>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r-- | fs/f2fs/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index c47b1ef2685a..218695e44bd4 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -1550,6 +1550,7 @@ skip: (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); limit_reserve_root(sbi); + *flags = (*flags & ~SB_LAZYTIME) | (sb->s_flags & SB_LAZYTIME); return 0; restore_gc: if (need_restart_gc) { |