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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Fri, 11 Mar 2005 01:51:12 EST


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

Modified Files:
      Tag: openafs-stable-1_4_x
	osi_vnodeops.c 
Log Message:
DELTA STABLE14-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 for openafs-stable-1_4_x follows ---
STABLE14-linux-writepage-sync-20050308 openafs/src/afs/LINUX/osi_vnodeops.c 1.81.2.12 1.81.2.13