mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
STABLE14-macos-reclaim-20060110
FIXES 25165 avoid a vnode cleaning pnaic during recycle (cherry picked from commit 29924c8302431a25d4889ef4500fc5f0eeb97b2e)
This commit is contained in:
parent
fb0850a382
commit
8dcdef73e4
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user