diff options
author | 2018-06-04 23:20:17 +0800 | |
---|---|---|
committer | 2018-06-04 14:31:11 -0700 | |
commit | a1f72ac2c0a8d8a3488b31867c9255264331a4db (patch) | |
tree | f61d166a69bd130f8cade778733f9170a52ce4c0 /lib/test_overflow.c | |
parent | fs: f2fs: insert space around that ':' and ', ' (diff) | |
download | linux-dev-a1f72ac2c0a8d8a3488b31867c9255264331a4db.tar.xz linux-dev-a1f72ac2c0a8d8a3488b31867c9255264331a4db.zip |
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>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions