From: Chao Yu
If we change system time to the past, get_mtime() will return a
overflowed time, and SIT_I(sbi)->max_mtime will be udpated
incorrectly, this patch fixes the two issues.
Signed-off-by: Chao Yu
---
v2:
- fix to correct return value of get_mtime().
fs/f2fs/checkpoint.c | 2 +-
fs/f
From: Chao Yu
If we change system time to the past, get_mtime() will return a
overflowed time, and SIT_I(sbi)->max_mtime will be udpated
incorrectly, this patch fixes the two issues.
Signed-off-by: Chao Yu
---
v2:
- fix to cover base time updating.
fs/f2fs/checkpoint.c | 2 +-
fs/f2fs/segmen