diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-10-04 23:46:53 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-11-04 05:28:44 +0300 |
commit | 7d34ff5141650baefc42bdeabea151574e3b69c2 (patch) | |
tree | 3a160d7a50cf4f0bb4198f6253f3cda95516a00c /fs/nfs/callback.h | |
parent | e7d4b05c5ee312c5ed37aa1bdaa572c2fc9e473f (diff) | |
download | linux-7d34ff5141650baefc42bdeabea151574e3b69c2.tar.xz |
NFSv4: NFSv4 callbacks also support 64-bit timestamps
Convert the NFSv4 callbacks to use struct timestamp64, rather than
truncating times to 32-bit values.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/callback.h')
-rw-r--r-- | fs/nfs/callback.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h index 8f34daf85f70..549350259840 100644 --- a/fs/nfs/callback.h +++ b/fs/nfs/callback.h @@ -72,8 +72,8 @@ struct cb_getattrres { uint32_t bitmap[2]; uint64_t size; uint64_t change_attr; - struct timespec ctime; - struct timespec mtime; + struct timespec64 ctime; + struct timespec64 mtime; }; struct cb_recallargs { |