diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2017-11-15 16:38:45 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-11-15 16:38:45 +0000 |
commit | 0a9dd0e0711e58aa8d19ae4446cb3fe2906a8514 (patch) | |
tree | 9442c36d48fa2e9eb35841dcfc2617c8144aadec /fs/f2fs/segment.h | |
parent | 074d58989569b39f04294c90ef36dd82b8c2cc1a (diff) | |
download | linux-0a9dd0e0711e58aa8d19ae4446cb3fe2906a8514.tar.bz2 |
security: keys: Replace time_t with time64_t for struct key_preparsed_payload
The 'struct key_preparsed_payload' will use 'time_t' which we will
try to remove in the kernel, since 'time_t' is not year 2038 safe on
32bits systems.
Thus this patch replaces 'time_t' with 'time64_t' which is year 2038
safe on 32 bits system for 'struct key_preparsed_payload', moreover
we should use the 'TIME64_MAX' macro to initialize the 'time64_t'
type variable.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'fs/f2fs/segment.h')
0 files changed, 0 insertions, 0 deletions