projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89d13c3
)
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>
Sun, 30 Sep 2018 23:50:46 +0000
(16:50 -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
|
history
diff --git
a/fs/f2fs/super.c
b/fs/f2fs/super.c
index c47b1ef2685a4143a504575a3898cd0974847d7a..218695e44bd4386c64e514ec6cebd9c10e170798 100644
(file)
--- 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) {