nfsd: use timespec64 in encode_time_delta
authorArnd Bergmann <arnd@arndb.de>
Thu, 31 Oct 2019 14:14:03 +0000 (15:14 +0100)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 19 Dec 2019 22:46:08 +0000 (17:46 -0500)
commite4598e38ee7e708d751081799f27d3f11a3e687d
treeb25a6ff8bd20d6f7f572b36211e9f8f9e44828c4
parent92c5e46911c0c1b20fa2294298aaf008c3afe975
nfsd: use timespec64 in encode_time_delta

The values in encode_time_delta are always small and don't
overflow the range of 'struct timespec', so changing it has
no effect.

Change it to timespec64 as a prerequisite for removing the
timespec definition later.

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