diff options
author | Deepa Dinamani <deepa.kernel@gmail.com> | 2017-05-09 00:59:10 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-09 02:15:15 +0200 |
commit | 48fbfe50f1d5fef51bac98d105d2a28df42a1205 (patch) | |
tree | 9717ff08a30f206b190e197995ec889dbcd06cfa /kernel/trace/trace_hwlat.c | |
parent | format-security: move static strings to const (diff) | |
download | linux-48fbfe50f1d5fef51bac98d105d2a28df42a1205.tar.xz linux-48fbfe50f1d5fef51bac98d105d2a28df42a1205.zip |
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 'kernel/trace/trace_hwlat.c')
0 files changed, 0 insertions, 0 deletions