]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc3a4264f1947f3d8e61cd68bcc67f068bb885ab4
treeb25a6ff8bd20d6f7f572b36211e9f8f9e44828c4
parentf450668d6b5b1da178ab6073a45a4b6fc2d34b3f
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