diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-11-11 21:16:27 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-01-15 10:54:30 -0500 |
commit | a3167dacbad3a42dffb78cca8684fafcd94575f9 (patch) | |
tree | 50ff28fa03fae6cb8627bb39fef5746603f6deff /fs/nfs/nfs3proc.c | |
parent | e5189e9a51172de650b263f0f8bc87a02d728c58 (diff) |
nfs: encode nfsv4 timestamps as 64-bit
On 32-bit architectures, xdr_encode_nfstime4() needlessly
truncates timestamps to a 32-bit value in the range between
year 1902 and 2038.
Change it to use 'struct timespec64' to allow the entire range
of values supported by the server.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/nfs3proc.c')
0 files changed, 0 insertions, 0 deletions