diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-11-11 21:16:23 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-01-15 10:54:30 -0500 |
commit | ae08483cdd666045b60ceb502dcbf30038334d58 (patch) | |
tree | 77833b402e975d76c1dd44f6e8c5b74d77fa13e2 /fs/nfs/internal.h | |
parent | 52879b464a6a85ff4070786e8a5c876233ac6f67 (diff) |
nfs: use timespec64 in nfs_fattr
Push down the use of timespec64 into NFS nfs_fattr, to avoid needless
conversions, and get closer to having 64-bit time_t support on 32-bit
NFSv4 and removing some old interfaces from the kernel.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index c0257411e158..17f082442804 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h @@ -697,9 +697,9 @@ unsigned int nfs_page_array_len(unsigned int base, size_t len) } /* - * Convert a struct timespec into a 64-bit change attribute + * Convert a struct timespec64 into a 64-bit change attribute * - * This does approximately the same thing as timespec_to_ns(), + * This does approximately the same thing as timespec64_to_ns(), * but for calculation efficiency, we multiply the seconds by * 1024*1024*1024. */ |