diff options
author | Weston Andros Adamson <dros@primarydata.com> | 2014-05-15 11:56:53 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-05-29 11:11:48 -0400 |
commit | 7f714720fac03383d687dbe39494cc96b845bd46 (patch) | |
tree | b12d2f58de79558408c773c79fda7c0122fa2d38 /include | |
parent | f0cb9ab8d5589fc553761068200e5a8342f61de0 (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.h | 5 |
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 | ||
1259 | struct nfs_pgio_data; | ||
1260 | |||
1259 | struct nfs_pgio_header { | 1261 | struct 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 | ||
1283 | struct nfs_pgio_data { | 1285 | struct 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 */ |