From 4a8e1385844eb3a1c6c70758baa7522cf35130df Mon Sep 17 00:00:00 2001 From: Hartmut Reuter Date: Thu, 18 Oct 2012 09:38:50 -0400 Subject: [PATCH] linux: bypass readpages should update nocache read parms the nocache read parms need to have the offset updated during a bypass readpages request Change-Id: Iced321e6eeab7fd784c5ccb871fcda7ff9c7493d Reviewed-on: http://gerrit.openafs.org/8254 Reviewed-by: Derrick Brashear Tested-by: BuildBot Reviewed-by: Marc Dionne --- src/afs/LINUX/osi_vnodeops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 11062ce4e..f089f14b3 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -2129,7 +2129,7 @@ afs_linux_bypass_readpages(struct file *fp, struct address_space *mapping, if(page_ix == 0) { offset = page_offset(pp); - auio->uio_offset = offset; + ancr->offset = auio->uio_offset = offset; base_index = pp->index; } iovecp[page_ix].iov_len = PAGE_SIZE; -- 2.39.5