Include <sys/mutex.h> and its prerequisite <sys/lock.h> instead of

depending on namespace pollution in <sys/vnode.h> for the definition
of GIANT_REQUIRED.

Sorted includes.
This commit is contained in:
bde 2004-06-23 06:35:43 +00:00
parent 6fbc9c84e5
commit 04ad910c24

View File

@ -33,10 +33,12 @@
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/lock.h>
#include <sys/malloc.h>
#include <sys/mutex.h>
#include <sys/namei.h> #include <sys/namei.h>
#include <sys/proc.h> #include <sys/proc.h>
#include <sys/malloc.h> #include <sys/systm.h>
#include <sys/vnode.h> #include <sys/vnode.h>
#include <machine/stdarg.h> #include <machine/stdarg.h>