aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@primarydata.com>2014-05-15 11:56:53 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-05-29 11:11:48 -0400
commit7f714720fac03383d687dbe39494cc96b845bd46 (patch)
treeb12d2f58de79558408c773c79fda7c0122fa2d38 /include
parentf0cb9ab8d5589fc553761068200e5a8342f61de0 (diff)
nfs: remove data list from pgio header
Since the ability to split pages into subpage requests has been added, nfs_pgio_header->rpc_list only ever has one pgio data. Signed-off-by: Weston Andros Adamson <dros@primarydata.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_xdr.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index adef7bd2d06d..ae636013fb1f 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -1256,11 +1256,13 @@ enum {
1256 NFS_IOHDR_NEED_RESCHED, 1256 NFS_IOHDR_NEED_RESCHED,
1257}; 1257};
1258 1258
1259struct nfs_pgio_data;
1260
1259struct nfs_pgio_header { 1261struct nfs_pgio_header {
1260 struct inode *inode; 1262 struct inode *inode;
1261 struct rpc_cred *cred; 1263 struct rpc_cred *cred;
1262 struct list_head pages; 1264 struct list_head pages;
1263 struct list_head rpc_list; 1265 struct nfs_pgio_data *data;
1264 atomic_t refcnt; 1266 atomic_t refcnt;
1265 struct nfs_page *req; 1267 struct nfs_page *req;
1266 struct nfs_writeverf verf; /* Used for writes */ 1268 struct nfs_writeverf verf; /* Used for writes */
@@ -1282,7 +1284,6 @@ struct nfs_pgio_header {
1282 1284
1283struct nfs_pgio_data { 1285struct nfs_pgio_data {
1284 struct nfs_pgio_header *header; 1286 struct nfs_pgio_header *header;
1285 struct list_head list;
1286 struct rpc_task task; 1287 struct rpc_task task;
1287 struct nfs_fattr fattr; 1288 struct nfs_fattr fattr;
1288 struct nfs_writeverf verf; /* Used for writes */ 1289 struct nfs_writeverf verf; /* Used for writes */