Deepa Dinamani 48fbfe50f1 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>
2017-05-08 17:15:15 -07:00
..
2016-09-14 16:52:36 -07:00
2017-03-20 10:00:16 -04:00
2017-02-27 10:07:43 -08:00
2017-05-08 17:15:12 -07:00
2017-05-08 17:15:12 -07:00
2017-02-27 10:51:21 -08:00
2016-12-14 09:07:36 -08:00
2017-03-01 15:55:04 -08:00
2017-05-08 17:15:12 -07:00
2017-03-01 15:55:04 -08:00
2017-02-22 20:24:51 -08:00