diff options
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index ac0c0e51786e..84f3585c5728 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -236,6 +236,29 @@ struct nfs4_getdeviceinfo_res { | |||
236 | struct nfs4_sequence_res seq_res; | 236 | struct nfs4_sequence_res seq_res; |
237 | }; | 237 | }; |
238 | 238 | ||
239 | struct nfs4_layoutcommit_args { | ||
240 | nfs4_stateid stateid; | ||
241 | __u64 lastbytewritten; | ||
242 | struct inode *inode; | ||
243 | const u32 *bitmask; | ||
244 | struct nfs4_sequence_args seq_args; | ||
245 | }; | ||
246 | |||
247 | struct nfs4_layoutcommit_res { | ||
248 | struct nfs_fattr *fattr; | ||
249 | const struct nfs_server *server; | ||
250 | struct nfs4_sequence_res seq_res; | ||
251 | }; | ||
252 | |||
253 | struct nfs4_layoutcommit_data { | ||
254 | struct rpc_task task; | ||
255 | struct nfs_fattr fattr; | ||
256 | struct pnfs_layout_segment *lseg; | ||
257 | struct rpc_cred *cred; | ||
258 | struct nfs4_layoutcommit_args args; | ||
259 | struct nfs4_layoutcommit_res res; | ||
260 | }; | ||
261 | |||
239 | /* | 262 | /* |
240 | * Arguments to the open call. | 263 | * Arguments to the open call. |
241 | */ | 264 | */ |