]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-linux-writepage-sync-20050308
authorChaskiel M Grundman <cg2v@andrew.cmu.edu>
Fri, 11 Mar 2005 06:51:11 +0000 (06:51 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 11 Mar 2005 06:51:11 +0000 (06:51 +0000)
commit3d2ff936b411ab80b9ff72d80cb772c2d37bfe05
treedb0870341e6d491e7f7ec7925fe0930573e4ac1b
parent35aa275df20c6863215fb92863abae160a614438
STABLE14-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)"

(cherry picked from commit e9084af7bfe8ef50e4ebbc57b580b8f6fffbf230)
src/afs/LINUX/osi_vnodeops.c