diff options
| author | Chao Yu <yuchao0@huawei.com> | 2018-06-04 23:20:17 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-07-08 17:49:23 -0700 |
| commit | 588ecdfd7d023e7ed43fc516823d7df3c9d14fc3 (patch) | |
| tree | d68cd6664bf9aa954a41e4bf00a67566a30a5143 /include/linux/overflow.h | |
| parent | 1ae5aadab1914fbdfcc24761005203e46fa0b343 (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>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions
