summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2019-10-04 17:00:02 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2019-11-03 21:28:44 -0500
commit6430b323ae09f146dfc26e6d17c432bfc3d11452 (patch)
tree80dc5cb4a9def5faf9d1b4068e463d7fa99e24a3 /include
parentc9dbfd961b875fb94de0298c39a9ba8d3843fcd7 (diff)
downloadlinux-stable-6430b323ae09f146dfc26e6d17c432bfc3d11452.tar.gz
linux-stable-6430b323ae09f146dfc26e6d17c432bfc3d11452.tar.bz2
linux-stable-6430b323ae09f146dfc26e6d17c432bfc3d11452.zip
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')
-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 {