MFC Rev 1.288

VFS SMP fixes, stack api, softupdates fixes.

Sponsored by:	Isilon Systems, Inc.
Approved by:	re (scottl)
This commit is contained in:
jeff 2006-03-13 03:05:42 +00:00
parent 57887bc809
commit 0fba4c736a

View File

@ -723,8 +723,13 @@ done1:
/*
* Handle deferred decrement of ref counts.
*/
if (textvp != NULL)
if (textvp != NULL) {
int tvfslocked;
tvfslocked = VFS_LOCK_GIANT(textvp->v_mount);
vrele(textvp);
VFS_UNLOCK_GIANT(tvfslocked);
}
if (ndp->ni_vp && error != 0)
vrele(ndp->ni_vp);
#ifdef KTRACE