From: Marc Dionne Date: Wed, 13 May 2009 21:41:36 +0000 (+0000) Subject: DEVEL15-mmap-antirecursion-port-to-head-20090513 X-Git-Tag: openafs-devel-1_5_60~57 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f50a0c535b4d43b969586841e021b0058a9213a8;p=packages%2Fo%2Fopenafs.git DEVEL15-mmap-antirecursion-port-to-head-20090513 LICENSE IPL10 FIXES 124770 deal correctly with the structure reorg which took place (cherry picked from commit 2c0bf1c881f34554472982df2b74c50c4eeb7dcd) --- diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 6081ab0a1..94c3ddc5d 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -1913,7 +1913,7 @@ afs_linux_writepage_sync(struct inode *ip, struct page *pp, return(0); #endif } - vcp->states |= CPageWrite; + vcp->f.states |= CPageWrite; ReleaseWriteLock(&vcp->lock); setup_uio(&tuio, &iovec, buffer, base, count, UIO_WRITE, AFS_UIOSYS); @@ -1932,7 +1932,7 @@ afs_linux_writepage_sync(struct inode *ip, struct page *pp, } code = code ? -code : count - tuio.uio_resid; - vcp->states &= ~CPageWrite; + vcp->f.states &= ~CPageWrite; ReleaseWriteLock(&vcp->lock); afs_Trace4(afs_iclSetp, CM_TRACE_UPDATEPAGE, ICL_TYPE_POINTER, vcp,