OpenAFS CVS Commit: openafs/src/afs/LINUX by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Tue, 08 Mar 2005 17:05:47 EST


Update of /cvs/openafs/src/afs/LINUX
In directory GRAND.CENTRAL.ORG:/data/sb/openafs/src/afs/LINUX

Modified Files:
	osi_vnodeops.c 
Log Message:
DELTA linux-writepage-sync-20050308
AUTHOR cg2v@andrew.cmu.edu
FIXES 17792

"The attached patch
1) makes afs_linux_writepage_sync do the required lock_kernel and 
AFS_GLOCK()'s instead of making the caller do it.
2) removes the 2.4+ afs_linux_updatepage wrapper function which just calls
afs_linux_writepage_sync and is only called by afs_linux_commit_write
3) removes the kmap/kunmap in afs_linux_{prepare,commit}_write on 2.6 
since the caller of afs_linux_{prepare,commit}_write 
(do_generic_file_write) does the kmap/kunmap itself, and has since before 
2.4.19 (early 2.4's do require it, and it doesn't break anything to do it 
twice, so !defined(AFS_LINUX26_ENV) is appropriate)"


--- DELTA config follows ---
linux-writepage-sync-20050308 openafs/src/afs/LINUX/osi_vnodeops.c 1.96 1.97