diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-04-13 09:37:36 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-04-13 09:37:36 +0200 |
commit | ba25b81e3a420f8345585029d49ee32e73de9d5f (patch) | |
tree | c2d8878bb368cc92a67857ba2ab14a11429a21de /fs/coda | |
parent | ipv4: recompile ip options in ipv4_link_failure (diff) | |
download | linux-ba25b81e3a420f8345585029d49ee32e73de9d5f.tar.xz linux-ba25b81e3a420f8345585029d49ee32e73de9d5f.zip |
afs: avoid deprecated get_seconds()
get_seconds() has a limited range on 32-bit architectures and is
deprecated because of that. While AFS uses the same limits for
its inode timestamps on the wire protocol, let's just use the
simpler current_time() as we do for other file systems.
This will still zero out the 'tv_nsec' field of the timestamps
internally.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/coda')
0 files changed, 0 insertions, 0 deletions