aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/objlayout/objio_osd.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/objlayout/objio_osd.c')
-rw-r--r--fs/nfs/objlayout/objio_osd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/objlayout/objio_osd.c b/fs/nfs/objlayout/objio_osd.c
index 5457745dd4f1..426b366b0b33 100644
--- a/fs/nfs/objlayout/objio_osd.c
+++ b/fs/nfs/objlayout/objio_osd.c
@@ -439,7 +439,7 @@ static void _read_done(struct ore_io_state *ios, void *private)
439 objlayout_read_done(&objios->oir, status, objios->sync); 439 objlayout_read_done(&objios->oir, status, objios->sync);
440} 440}
441 441
442int objio_read_pagelist(struct nfs_read_data *rdata) 442int objio_read_pagelist(struct nfs_pgio_data *rdata)
443{ 443{
444 struct nfs_pgio_header *hdr = rdata->header; 444 struct nfs_pgio_header *hdr = rdata->header;
445 struct objio_state *objios; 445 struct objio_state *objios;
@@ -487,7 +487,7 @@ static void _write_done(struct ore_io_state *ios, void *private)
487static struct page *__r4w_get_page(void *priv, u64 offset, bool *uptodate) 487static struct page *__r4w_get_page(void *priv, u64 offset, bool *uptodate)
488{ 488{
489 struct objio_state *objios = priv; 489 struct objio_state *objios = priv;
490 struct nfs_write_data *wdata = objios->oir.rpcdata; 490 struct nfs_pgio_data *wdata = objios->oir.rpcdata;
491 struct address_space *mapping = wdata->header->inode->i_mapping; 491 struct address_space *mapping = wdata->header->inode->i_mapping;
492 pgoff_t index = offset / PAGE_SIZE; 492 pgoff_t index = offset / PAGE_SIZE;
493 struct page *page; 493 struct page *page;
@@ -531,7 +531,7 @@ static const struct _ore_r4w_op _r4w_op = {
531 .put_page = &__r4w_put_page, 531 .put_page = &__r4w_put_page,
532}; 532};
533 533
534int objio_write_pagelist(struct nfs_write_data *wdata, int how) 534int objio_write_pagelist(struct nfs_pgio_data *wdata, int how)
535{ 535{
536 struct nfs_pgio_header *hdr = wdata->header; 536 struct nfs_pgio_header *hdr = wdata->header;
537 struct objio_state *objios; 537 struct objio_state *objios;