commit | accb4064fb32e2cb9de22537769aea2a81a4f20f | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Mon Jun 04 23:20:17 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Sun Jul 08 17:44:34 2018 -0700 |
tree | 1eefb2f2e01538dd5d686529fe2d65dac58ca5a8 | |
parent | 6285d972c33151e2177777efabddd06512f968ce [diff] |
f2fs: fix to update mtime correctly 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 <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>