]> git.baikalelectronics.ru Git - kernel.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)
commitd5baca7afb893d3c1bbd1c6e554212d746e40149
treef0753aec62d0a423b78b49f4fcb2b6740c90c0e7
parenta3cb3f26041142c477b7fa0338cb8b09ba288c83
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