Assert Giant in vrele().

This commit is contained in:
Robert Watson 2004-05-31 19:06:01 +00:00
parent 95e7417b25
commit 9e6127fe3b

View File

@ -1963,6 +1963,8 @@ vrele(vp)
{
struct thread *td = curthread; /* XXX */
GIANT_REQUIRED;
KASSERT(vp != NULL, ("vrele: null vp"));
VI_LOCK(vp);