]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
nfsd: use time64_t in nfsd_proc_setattr() check
authorArnd Bergmann <arnd@arndb.de>
Sun, 3 Nov 2019 17:06:52 +0000 (18:06 +0100)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 19 Dec 2019 22:46:08 +0000 (17:46 -0500)
commitb6356d420296e4fd5045ab3b404bfeb9f659ce08
treef0753aec62d0a423b78b49f4fcb2b6740c90c0e7
parent2a1aa48929af78bfe8c4d4fe4b1ed8996af47cee
nfsd: use time64_t in nfsd_proc_setattr() check

Change to time64_t and ktime_get_real_seconds() to make the
logic work correctly on 32-bit architectures beyond 2038.

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