aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorPeng Tao <peng_tao@emc.com>2011-07-30 20:52:33 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-07-31 12:18:15 -0400
commita9bae5666d0510ad69bdb437371c9a3e6b770705 (patch)
tree5f94d5b75d7d870df9812f1bf277d91d9d7d66c1 /include/linux/nfs_xdr.h
parent9fa4075878a5faac872a63f4a97ce79c776264e9 (diff)
pnfs: let layoutcommit handle a list of lseg
There can be multiple lseg per file, so layoutcommit should be able to handle it. [Needed in v3.0] CC: Stable Tree <stable@kernel.org> Signed-off-by: Peng Tao <peng_tao@emc.com> Signed-off-by: Boaz Harrosh <bharrosh@panasas.com> Signed-off-by: Jim Rees <rees@umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 5b115956abac..feb312716c07 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -262,7 +262,7 @@ struct nfs4_layoutcommit_res {
262struct nfs4_layoutcommit_data { 262struct nfs4_layoutcommit_data {
263 struct rpc_task task; 263 struct rpc_task task;
264 struct nfs_fattr fattr; 264 struct nfs_fattr fattr;
265 struct pnfs_layout_segment *lseg; 265 struct list_head lseg_list;
266 struct rpc_cred *cred; 266 struct rpc_cred *cred;
267 struct nfs4_layoutcommit_args args; 267 struct nfs4_layoutcommit_args args;
268 struct nfs4_layoutcommit_res res; 268 struct nfs4_layoutcommit_res res;