mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
mmap-antirecursion-port-to-head-20090513
LICENSE IPL10 FIXES 124770 deal correctly with the structure reorg which took place
This commit is contained in:
parent
6ba44802ea
commit
2c0bf1c881
@ -1913,7 +1913,7 @@ afs_linux_writepage_sync(struct inode *ip, struct page *pp,
|
|||||||
return(0);
|
return(0);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
vcp->states |= CPageWrite;
|
vcp->f.states |= CPageWrite;
|
||||||
ReleaseWriteLock(&vcp->lock);
|
ReleaseWriteLock(&vcp->lock);
|
||||||
|
|
||||||
setup_uio(&tuio, &iovec, buffer, base, count, UIO_WRITE, AFS_UIOSYS);
|
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;
|
code = code ? -code : count - tuio.uio_resid;
|
||||||
|
|
||||||
vcp->states &= ~CPageWrite;
|
vcp->f.states &= ~CPageWrite;
|
||||||
ReleaseWriteLock(&vcp->lock);
|
ReleaseWriteLock(&vcp->lock);
|
||||||
|
|
||||||
afs_Trace4(afs_iclSetp, CM_TRACE_UPDATEPAGE, ICL_TYPE_POINTER, vcp,
|
afs_Trace4(afs_iclSetp, CM_TRACE_UPDATEPAGE, ICL_TYPE_POINTER, vcp,
|
||||||
|
Loading…
Reference in New Issue
Block a user