Added some ufs #includes so that this compiles with option LOCKF_DEBUG.

Moving this all from ufs wasn't a good move.  At least the debugging
routines depend on the file system.

Cleaned up the LOCKF_DEBUG #includes.
This commit is contained in:
Bruce Evans 1997-02-18 14:37:26 +00:00
parent 113b1c5fe5
commit a8687b6dcd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22880

View File

@ -39,7 +39,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/unistd.h>
#include <sys/vnode.h>
@ -55,8 +54,14 @@
static int maxlockdepth = MAXDEPTH;
#ifdef LOCKF_DEBUG
#include <vm/vm.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>
#include <vm/vm.h>
#include <ufs/ufs/quota.h>
#include <ufs/ufs/inode.h>
int lockf_debug = 0;
SYSCTL_INT(_debug, 4, lockf_debug, CTLFLAG_RW, &lockf_debug, 0, "");
#endif