summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2020-10-20 22:48:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-21 15:52:52 +0300
commit48ea0cb79b45e1f139a42257cb46ed8fc6aaca1c (patch)
treef18af56597934e96477769e22115bfc7ae9cb721 /include
parent71d7e7c6a6f4a4853612afe058e3fc923a4045fb (diff)
downloadlinux-48ea0cb79b45e1f139a42257cb46ed8fc6aaca1c.tar.xz
NFSD: Update the SETATTR3args decoder to use struct xdr_stream
[ Upstream commit 9cde9360d18d8b352b737d10f90f2aecccf93dbe ] Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/nfs3.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/nfs3.h b/include/uapi/linux/nfs3.h
index 37e4b34e6b43..c22ab77713bd 100644
--- a/include/uapi/linux/nfs3.h
+++ b/include/uapi/linux/nfs3.h
@@ -63,6 +63,12 @@ enum nfs3_ftype {
NF3BAD = 8
};
+enum nfs3_time_how {
+ DONT_CHANGE = 0,
+ SET_TO_SERVER_TIME = 1,
+ SET_TO_CLIENT_TIME = 2,
+};
+
struct nfs3_fh {
unsigned short size;
unsigned char data[NFS3_FHSIZE];