]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: print 64-bit timestamps in client_info_show
authorArnd Bergmann <arnd@arndb.de>
Thu, 31 Oct 2019 13:52:43 +0000 (14:52 +0100)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 19 Dec 2019 22:46:08 +0000 (17:46 -0500)
commitf0e9f214b1d3389ae0b462799b676297d761669a
treeda15bc1046b3375f52fb953dfe47c2ec26c97d66
parent91b6de57b0c6f57cba0f6acd19bc67e878e0aebf
nfsd: print 64-bit timestamps in client_info_show

The nii_time field gets truncated to 'time_t' on 32-bit architectures
before printing.

Remove the use of 'struct timespec' to product the correct output
beyond 2038.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
fs/nfsd/state.h