]> git.michaelhowe.org Git - packages/o/openafs.git/commit
linux-writepage-sync-20050308
authorChaskiel M Grundman <cg2v@andrew.cmu.edu>
Tue, 8 Mar 2005 22:05:45 +0000 (22:05 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 8 Mar 2005 22:05:45 +0000 (22:05 +0000)
commite9084af7bfe8ef50e4ebbc57b580b8f6fffbf230
tree534ba53274b34fd3b6035d5193b095a193afbc64
parent011a40a56da8c36ebfe6d3216d35ec5618132393
linux-writepage-sync-20050308

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)"
src/afs/LINUX/osi_vnodeops.c