]> asedeno.scripts.mit.edu Git - linux.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)
commitbdba53687e450dcbae614ba06d0bc8be5e4e34c5
tree4d57c69532bb699da8f06e97d53739bd0084cde1
parente977cc8308620c4839a8bd4069625f93c458a586
nfsd: use 64-bit seconds fields in nfsd v4 code

After commit 95582b008388 "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