diff options
author | Deepa Dinamani <deepa.kernel@gmail.com> | 2017-05-09 01:59:10 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-09 03:15:15 +0300 |
commit | 48fbfe50f1d5fef51bac98d105d2a28df42a1205 (patch) | |
tree | 9717ff08a30f206b190e197995ec889dbcd06cfa /fs/cifs | |
parent | 063246641d4a9e9de84a2466fbad50112faf88dc (diff) | |
download | linux-48fbfe50f1d5fef51bac98d105d2a28df42a1205.tar.xz |
fs: f2fs: use ktime_get_real_seconds for sit_info times
CURRENT_TIME_SEC is not y2038 safe.
Replace use of CURRENT_TIME_SEC with ktime_get_real_seconds in segment
timestamps used by GC algorithm including the segment mtime timestamps.
Link: http://lkml.kernel.org/r/1491613030-11599-2-git-send-email-deepa.kernel@gmail.com
Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Cc: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/cifs')
0 files changed, 0 insertions, 0 deletions