projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aad0bea
)
f2fs: keep lazytime on remount
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 28 Sep 2018 07:24:39 +0000
(
00:24
-0700)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 26 Oct 2018 18:23:39 +0000
(11:23 -0700)
This patch fixes losing lazytime when remounting f2fs.
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/super.c
b/fs/f2fs/super.c
index 83509f8e640d90c00e00e6ed7e92d1dc23bcd388..fe840745461bdd33a1eb1c592b78a97c50c63ca7 100644
(file)
--- a/
fs/f2fs/super.c
+++ b/
fs/f2fs/super.c
@@
-1550,6
+1550,7
@@
skip:
(test_opt(sbi, POSIX_ACL) ? MS_POSIXACL : 0);
limit_reserve_root(sbi);
+ *flags = (*flags & ~SB_LAZYTIME) | (sb->s_flags & SB_LAZYTIME);
return 0;
restore_gc:
if (need_restart_gc) {