]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-macos-vnode-get-fixes-20060105
authorChaskiel M Grundman <cg2v@andrew.cmu.edu>
Thu, 5 Jan 2006 05:57:55 +0000 (05:57 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 5 Jan 2006 05:57:55 +0000 (05:57 +0000)
commit7d81ee9430acb50eefd5035bd4f0d33ff7d5ed88
tree904f321e587f9fd8790e275cd28f15f5237e3396
parent26c3890b31c651b88b5882e7a5b81258dbc6dbb4
STABLE14-macos-vnode-get-fixes-20060105

The afs_pioctl.c change should fix a real crash (panic), but fs flushv isn't
that common an operation.
Other changes:
don't GUNLOCK() around vnode_get(). we weren't consistent about it, and it
doesn't appear to be strictly required.
handle vnode_get() failures in more cases
darwin_vn_hold will panic if vnode is terminating rather than mess up the
refcounts.

(cherry picked from commit 8b015a5e325b52969203d0647f67945ab7e402cc)
src/afs/DARWIN/osi_vnodeops.c
src/afs/afs_osidnlc.c
src/afs/afs_pioctl.c
src/afs/afs_vcache.c
src/afs/afs_volume.c