]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: use 64-bit seconds fields in nfsd v4 code
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 5 Jun 2019 18:17:42 +0000 (14:17 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 3 Jul 2019 21:52:09 +0000 (17:52 -0400)
commitab49b1486355dddff96f50c9c20f04eb962e26b1
tree4d57c69532bb699da8f06e97d53739bd0084cde1
parent40767be4708f054ce9dd986e1768ab431289fcae
nfsd: use 64-bit seconds fields in nfsd v4 code

After commit 1295ea1c07c2 "vfs: change inode times to use struct
timespec64" there are spots in the NFSv4 decoding where we decode the
protocol into a struct timeval and then convert that into a timeval64.

That's unnecesary in the NFSv4 case since the on-the-wire protocol also
uses 64-bit values.  So just fix up our code to use timeval64 everywhere.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/blocklayout.c
fs/nfsd/nfs4xdr.c
fs/nfsd/xdr4.h