summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-10-31 14:55:32 +0100
committerJ. Bruce Fields <bfields@redhat.com>2019-12-19 17:46:08 -0500
commit92c5e46911c0c1b20fa2294298aaf008c3afe975 (patch)
tree778b8208d025275dc29128be199efc0614c080f7 /include
parente29f470396a7447764e73289fd63a4591a0b443b (diff)
downloadlinux-92c5e46911c0c1b20fa2294298aaf008c3afe975.tar.bz2
nfsd: handle nfs3 timestamps as unsigned
The decode_time3 function behaves differently on 32-bit and 64-bit architectures: on the former, a 32-bit timestamp gets converted into an signed number and then into a timestamp between 1902 and 2038, while on the latter it is interpreted as unsigned in the range 1970-2106. Change all the remaining 'timespec' in nfsd to 'timespec64' to make the behavior the same, and use the current interpretation of the dominant 64-bit architectures. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions