]> asedeno.scripts.mit.edu Git - linux.git/commit
fs: use timespec64 in relatime_need_update
authorArnd Bergmann <arnd@arndb.de>
Fri, 26 Apr 2019 14:50:41 +0000 (16:50 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 26 Apr 2019 15:18:38 +0000 (11:18 -0400)
commit6f22b6649edf11334b558185c209bb7ba9a9ee28
tree959521d6ce7d05c5a93c195830a4b32a0474773b
parent6d46d2934aeab54bd560e68bf5c73f016f9317a2
fs: use timespec64 in relatime_need_update

For some reason, the conversion of the VFS code away from 'struct timespec'
left one function behind that still uses it, for absolutely no reason.

Using timespec64 will make the atime update logic work correctly past
y2038.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/inode.c