summaryrefslogtreecommitdiff
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2019-10-05 00:00:02 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2019-11-04 05:28:44 +0300
commit6430b323ae09f146dfc26e6d17c432bfc3d11452 (patch)
tree80dc5cb4a9def5faf9d1b4068e463d7fa99e24a3 /include/linux/nfs_xdr.h
parentc9dbfd961b875fb94de0298c39a9ba8d3843fcd7 (diff)
downloadlinux-6430b323ae09f146dfc26e6d17c432bfc3d11452.tar.xz
NFSv3: Clean up timespec encode
Simplify the struct iattr timestamp encoding by skipping the step of an intermediate struct timespec. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index db5c01001937..22bc6613474e 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -869,7 +869,7 @@ struct nfs3_sattrargs {
struct nfs_fh * fh;
struct iattr * sattr;
unsigned int guard;
- struct timespec guardtime;
+ struct timespec64 guardtime;
};
struct nfs3_diropargs {