diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-06-20 19:35:36 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-07-13 15:58:05 -0400 |
commit | b5973a8c1ccf375c9ab9e2428e1185e3f799af06 (patch) | |
tree | 31e09d2aefc7e54fd271171b21f6c81f14bc7d3a /fs/nfs | |
parent | 92ea011f7cbade821ebd56a1f70d20331c0320c8 (diff) | |
download | linux-b5973a8c1ccf375c9ab9e2428e1185e3f799af06.tar.gz linux-b5973a8c1ccf375c9ab9e2428e1185e3f799af06.tar.bz2 linux-b5973a8c1ccf375c9ab9e2428e1185e3f799af06.zip |
NFS: Remove unused fields in the page I/O structures
Remove the 'layout_private' fields that were only used by the pNFS OSD
layout driver.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/pagelist.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c index ad92b401326c..de107d866297 100644 --- a/fs/nfs/pagelist.c +++ b/fs/nfs/pagelist.c @@ -51,7 +51,6 @@ void nfs_pgheader_init(struct nfs_pageio_descriptor *desc, hdr->io_start = req_offset(hdr->req); hdr->good_bytes = mirror->pg_count; hdr->dreq = desc->pg_dreq; - hdr->layout_private = desc->pg_layout_private; hdr->release = release; hdr->completion_ops = desc->pg_completion_ops; if (hdr->completion_ops->init_hdr) @@ -711,7 +710,6 @@ void nfs_pageio_init(struct nfs_pageio_descriptor *desc, desc->pg_error = 0; desc->pg_lseg = NULL; desc->pg_dreq = NULL; - desc->pg_layout_private = NULL; desc->pg_bsize = bsize; desc->pg_mirror_count = 1; |