Module Name: src Committed By: christos Date: Thu Aug 2 16:06:59 UTC 2012
Modified Files: src/sys/coda: coda_namecache.c coda_subr.c coda_subr.h coda_vfsops.c coda_vnops.c coda_vnops.h Log Message: - move debugging functions to vcoda so modules with -DDEBUG link - fix writing to coda files. this is probably not the right way to do this, but it satisfies the locking protocol: 1. Sometimes coda_open() is called with an unlocked vnode which does not satisfy the locking protocol. Lock it for now. We need to find out why this happens 2. VFS_VGET sometimes returns the container vnode unlocked. What is the locking protocol for VFS_VGET? We also lock it here. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/coda/coda_namecache.c cvs rdiff -u -r1.26 -r1.27 src/sys/coda/coda_subr.c cvs rdiff -u -r1.8 -r1.9 src/sys/coda/coda_subr.h cvs rdiff -u -r1.73 -r1.74 src/sys/coda/coda_vfsops.c cvs rdiff -u -r1.89 -r1.90 src/sys/coda/coda_vnops.c cvs rdiff -u -r1.15 -r1.16 src/sys/coda/coda_vnops.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.