Deepa Dinamani c62c38f6b9 ocfs2: replace CURRENT_TIME macro
CURRENT_TIME is not y2038 safe.

Use y2038 safe ktime_get_real_seconds() here for timestamps.  struct
heartbeat_block's hb_seq and deletetion time are already 64 bits wide
and accommodate times beyond y2038.

Also use y2038 safe ktime_get_real_ts64() for on disk inode timestamps.
These are also wide enough to accommodate time64_t.

Link: http://lkml.kernel.org/r/1475365298-29236-1-git-send-email-deepa.kernel@gmail.com
Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Cc: Mark Fasheh <mfasheh@versity.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joseph Qi <jiangqi903@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-12-12 18:55:06 -08:00
..
2016-12-12 18:55:06 -08:00
2016-05-12 15:52:50 -07:00
2016-11-11 08:12:37 -08:00
2011-07-25 14:58:15 -07:00
2016-12-12 18:55:06 -08:00
2016-01-22 18:04:28 -05:00
2015-12-29 17:45:49 -08:00
2008-10-13 13:57:57 -07:00
2016-12-12 18:55:06 -08:00
2008-02-03 17:33:42 +02:00
2016-06-19 18:09:31 +02:00
2011-03-31 11:26:23 -03:00
2012-05-29 23:28:40 -04:00
2016-05-12 15:52:50 -07:00