diff options
author | Deepa Dinamani <deepa.kernel@gmail.com> | 2017-05-08 15:59:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-08 17:15:15 -0700 |
commit | 48fbfe50f1d5fef51bac98d105d2a28df42a1205 (patch) | |
tree | 9717ff08a30f206b190e197995ec889dbcd06cfa /kernel/trace | |
parent | 063246641d4a9e9de84a2466fbad50112faf88dc (diff) | |
download | talos-obmc-linux-48fbfe50f1d5fef51bac98d105d2a28df42a1205.tar.gz talos-obmc-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')
0 files changed, 0 insertions, 0 deletions