diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-10-04 22:38:56 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-11-04 03:28:44 +0100 |
commit | e86d5a02874c1364c50e1b532481835b54173ed2 (patch) | |
tree | 463c98200215d31cde6d2aefc2f410ea94cb9a8a /fs/nfs/internal.h | |
parent | NFS: If nfs_mountpoint_expiry_timeout < 0, do not expire submounts (diff) | |
download | linux-e86d5a02874c1364c50e1b532481835b54173ed2.tar.xz linux-e86d5a02874c1364c50e1b532481835b54173ed2.zip |
NFS: Convert struct nfs_fattr to use struct timespec64
NFSv4 supports 64-bit times, so we should switch to using struct
timespec64 when decoding attributes.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 447a3c17fa8e..24a65da58aa9 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h @@ -713,7 +713,7 @@ unsigned int nfs_page_array_len(unsigned int base, size_t len) * 1024*1024*1024. */ static inline -u64 nfs_timespec_to_change_attr(const struct timespec *ts) +u64 nfs_timespec_to_change_attr(const struct timespec64 *ts) { return ((u64)ts->tv_sec << 30) + ts->tv_nsec; } |