aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h19
1 files changed, 4 insertions, 15 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 849f95c5fae4..57efcc27f20b 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -165,25 +165,14 @@ struct nfs_lowner {
165 u32 id; 165 u32 id;
166}; 166};
167 167
168struct nfs_open_to_lock { 168struct nfs_lock_opargs {
169 struct nfs_seqid * open_seqid;
170 nfs4_stateid open_stateid;
171 struct nfs_seqid * lock_seqid; 169 struct nfs_seqid * lock_seqid;
170 nfs4_stateid * lock_stateid;
171 struct nfs_seqid * open_seqid;
172 nfs4_stateid * open_stateid;
172 struct nfs_lowner lock_owner; 173 struct nfs_lowner lock_owner;
173};
174
175struct nfs_exist_lock {
176 nfs4_stateid stateid;
177 struct nfs_seqid * seqid;
178};
179
180struct nfs_lock_opargs {
181 __u32 reclaim; 174 __u32 reclaim;
182 __u32 new_lock_owner; 175 __u32 new_lock_owner;
183 union {
184 struct nfs_open_to_lock *open_lock;
185 struct nfs_exist_lock *exist_lock;
186 } u;
187}; 176};
188 177
189struct nfs_locku_opargs { 178struct nfs_locku_opargs {