]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-writedcache-enforce-xdcache-writelock-20071208
authorDerrick Brashear <shadow@dementia.org>
Sat, 8 Dec 2007 18:00:44 +0000 (18:00 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 8 Dec 2007 18:00:44 +0000 (18:00 +0000)
commit6db7c572db1f7ae4730fc788d519dddc18a4e7fd
treeafa2dc562135e7ea8ceef0ac5de77d9acac1f62a
parent58e8fc5452fbc4204182eac82001cee8bc5a1c55
STABLE14-writedcache-enforce-xdcache-writelock-20071208

LICENSE IPL10
FIXES 59136

in order that the writes to CacheItems not be addled, we need to *actually*
hold a *write* lock when we write. not even just read as the comment says.

and certainly not none as was happening in the dir package.

(cherry picked from commit c0a04c21cf36e4c8e25be9703f715f30d1bf55a6)
src/afs/VNOPS/afs_vnop_create.c
src/afs/VNOPS/afs_vnop_dirops.c
src/afs/VNOPS/afs_vnop_link.c
src/afs/VNOPS/afs_vnop_rename.c
src/afs/VNOPS/afs_vnop_symlink.c
src/afs/afs_dcache.c