Assert Giant in vrele().
This commit is contained in:
parent
95e7417b25
commit
9e6127fe3b
@ -1963,6 +1963,8 @@ vrele(vp)
|
||||
{
|
||||
struct thread *td = curthread; /* XXX */
|
||||
|
||||
GIANT_REQUIRED;
|
||||
|
||||
KASSERT(vp != NULL, ("vrele: null vp"));
|
||||
|
||||
VI_LOCK(vp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user