[pnfs] [PATCH 1/1] [SQUASHME] pnfsblock: use refactored pnfs_call_data
Benny Halevy
bhalevy at panasas.com
Wed Jun 18 15:56:22 EDT 2008
Signed-off-by: Benny Halevy <bhalevy at panasas.com>
---
fs/nfs/blocklayout/blocklayout.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/nfs/blocklayout/blocklayout.c b/fs/nfs/blocklayout/blocklayout.c
index 44942b3..40d45c9 100644
--- a/fs/nfs/blocklayout/blocklayout.c
+++ b/fs/nfs/blocklayout/blocklayout.c
@@ -394,7 +394,7 @@ bl_read_pagelist(struct pnfs_layout_type *layoutid,
goto use_mds;
}
isect = (sector_t) (f_offset >> 9);
- be = find_get_extent(rdata->lseg, isect, &cow_read);
+ be = find_get_extent(rdata->pdata.lseg, isect, &cow_read);
if (!be || count > (be->be_length << 9)) {
/* STUB - if count is large, should break into
* multiple bios. Also, need to check cow_read size.
@@ -513,7 +513,7 @@ bl_write_pagelist(struct pnfs_layout_type *layoutid,
count += diff;
}
isect = (sector_t) (offset >> 9);
- be = find_get_extent(wdata->lseg, offset, NULL);
+ be = find_get_extent(wdata->pdata.lseg, offset, NULL);
if (!be || (count > (be->be_length << 9))) {
/* STUB Assume fits within single extent, otherwise bails */
dprintk("%s Doesn't fit within single extent\n", __func__);
--
1.5.3.3
More information about the pNFS
mailing list