diff options
author | Kees Cook <keescook@chromium.org> | 2018-05-15 00:50:52 +0200 |
---|---|---|
committer | Deepa Dinamani <deepa.kernel@gmail.com> | 2018-06-06 01:57:31 +0200 |
commit | 7aaa822ed060719bd4ea012609883b6bc6950508 (patch) | |
tree | 222a4c1d6da343c041f790c0263e9b73296e798c /fs/pstore/platform.c | |
parent | udf: Simplify calls to udf_disk_stamp_to_time (diff) | |
download | linux-7aaa822ed060719bd4ea012609883b6bc6950508.tar.xz linux-7aaa822ed060719bd4ea012609883b6bc6950508.zip |
pstore: Convert internal records to timespec64
This prepares pstore for converting the VFS layer to timespec64.
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Diffstat (limited to 'fs/pstore/platform.c')
-rw-r--r-- | fs/pstore/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index dc720573fd53..c238ab8ba31d 100644 --- a/fs/pstore/platform.c +++ b/fs/pstore/platform.c @@ -328,7 +328,7 @@ void pstore_record_init(struct pstore_record *record, record->psi = psinfo; /* Report zeroed timestamp if called before timekeeping has resumed. */ - record->time = ns_to_timespec(ktime_get_real_fast_ns()); + record->time = ns_to_timespec64(ktime_get_real_fast_ns()); } /* |