From 2c0bf1c881f34554472982df2b74c50c4eeb7dcd Mon Sep 17 00:00:00 2001 From: Marc Dionne Date: Wed, 13 May 2009 21:40:56 +0000 Subject: [PATCH] mmap-antirecursion-port-to-head-20090513 LICENSE IPL10 FIXES 124770 deal correctly with the structure reorg which took place --- src/afs/LINUX/osi_vnodeops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 39bd08151b..b35cdbb660 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,