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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 84f3585c5728..a6e21b10f43d 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -190,8 +190,9 @@ struct nfs4_get_lease_time_res {
190#define PNFS_LAYOUT_MAXSIZE 4096 190#define PNFS_LAYOUT_MAXSIZE 4096
191 191
192struct nfs4_layoutdriver_data { 192struct nfs4_layoutdriver_data {
193 struct page **pages;
194 __u32 pglen;
193 __u32 len; 195 __u32 len;
194 void *buf;
195}; 196};
196 197
197struct pnfs_layout_range { 198struct pnfs_layout_range {
@@ -209,6 +210,7 @@ struct nfs4_layoutget_args {
209 struct nfs_open_context *ctx; 210 struct nfs_open_context *ctx;
210 struct nfs4_sequence_args seq_args; 211 struct nfs4_sequence_args seq_args;
211 nfs4_stateid stateid; 212 nfs4_stateid stateid;
213 struct nfs4_layoutdriver_data layout;
212}; 214};
213 215
214struct nfs4_layoutget_res { 216struct nfs4_layoutget_res {
@@ -216,8 +218,8 @@ struct nfs4_layoutget_res {
216 struct pnfs_layout_range range; 218 struct pnfs_layout_range range;
217 __u32 type; 219 __u32 type;
218 nfs4_stateid stateid; 220 nfs4_stateid stateid;
219 struct nfs4_layoutdriver_data layout;
220 struct nfs4_sequence_res seq_res; 221 struct nfs4_sequence_res seq_res;
222 struct nfs4_layoutdriver_data *layoutp;
221}; 223};
222 224
223struct nfs4_layoutget { 225struct nfs4_layoutget {