summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/xdr4.h
diff options
context:
space:
mode:
authorBenny Halevy <benny@tonian.com>2012-02-16 19:57:09 +0100
committerJ. Bruce Fields <bfields@redhat.com>2012-02-18 00:38:42 +0100
commit2c8bd7e0d1b66b2f8f267fd6ab62a30569c792c0 (patch)
tree54f90f3eb8c7cebfefea8b11957b2514078fe13d /fs/nfsd/xdr4.h
parentnfsd41: share_access_to_flags should consider only nfs4.x share_access flags (diff)
downloadlinux-2c8bd7e0d1b66b2f8f267fd6ab62a30569c792c0.tar.xz
linux-2c8bd7e0d1b66b2f8f267fd6ab62a30569c792c0.zip
nfsd41: split out share_access want and signal flags while decoding
Signed-off-by: Benny Halevy <bhalevy@tonian.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r--fs/nfsd/xdr4.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h
index 12789eb3f911..4949832fd74a 100644
--- a/fs/nfsd/xdr4.h
+++ b/fs/nfsd/xdr4.h
@@ -233,6 +233,7 @@ struct nfsd4_open {
u32 op_seqid; /* request */
u32 op_share_access; /* request */
u32 op_share_deny; /* request */
+ u32 op_deleg_want; /* request */
stateid_t op_stateid; /* response */
u32 op_recall; /* recall */
struct nfsd4_change_info op_cinfo; /* response */
@@ -256,8 +257,9 @@ struct nfsd4_open_confirm {
struct nfsd4_open_downgrade {
stateid_t od_stateid;
u32 od_seqid;
- u32 od_share_access;
- u32 od_share_deny;
+ u32 od_share_access; /* request */
+ u32 od_deleg_want; /* request */
+ u32 od_share_deny; /* request */
};