summaryrefslogtreecommitdiff
path: root/fs/pstore/platform.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-05-15 01:50:52 +0300
committerDeepa Dinamani <deepa.kernel@gmail.com>2018-06-06 02:57:31 +0300
commit7aaa822ed060719bd4ea012609883b6bc6950508 (patch)
tree222a4c1d6da343c041f790c0263e9b73296e798c /fs/pstore/platform.c
parent0220eddac66daa2afdd6cf6d7d5198226d2abf0b (diff)
downloadlinux-7aaa822ed060719bd4ea012609883b6bc6950508.tar.xz
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.c2
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());
}
/*