From: Chaskiel M Grundman Date: Wed, 11 Jan 2006 04:24:39 +0000 (+0000) Subject: STABLE14-macos-reclaim-20060110 X-Git-Tag: openafs-stable-1_4_1-rc4~4 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=8dcdef73e4a0fd4c56c5291c8366f6689c7a06b2;p=packages%2Fo%2Fopenafs.git STABLE14-macos-reclaim-20060110 FIXES 25165 avoid a vnode cleaning pnaic during recycle (cherry picked from commit 29924c8302431a25d4889ef4500fc5f0eeb97b2e) --- diff --git a/src/afs/DARWIN/osi_vnodeops.c b/src/afs/DARWIN/osi_vnodeops.c index 3cb550563..951565063 100644 --- a/src/afs/DARWIN/osi_vnodeops.c +++ b/src/afs/DARWIN/osi_vnodeops.c @@ -1643,12 +1643,12 @@ afs_vop_reclaim(ap) ); afs_osi_Wakeup(&tvc->states); } - ReleaseWriteLock(&afs_xvcache); - AFS_GUNLOCK(); if (!error && vnode_fsnode(vp)) panic("afs_reclaim: vnode not cleaned"); if (!error && (tvc->v != NULL)) panic("afs_reclaim: vcache not cleaned"); + ReleaseWriteLock(&afs_xvcache); + AFS_GUNLOCK(); } return error; }