summaryrefslogtreecommitdiffstats
path: root/sys/fs/nullfs/null_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/nullfs/null_vfsops.c')
-rw-r--r--sys/fs/nullfs/null_vfsops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c
index 9014c74..0ecfda2 100644
--- a/sys/fs/nullfs/null_vfsops.c
+++ b/sys/fs/nullfs/null_vfsops.c
@@ -42,6 +42,7 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/kdb.h>
#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/malloc.h>
@@ -260,7 +261,7 @@ nullfs_root(mp, vpp)
#ifdef NULLFS_DEBUG
if (VOP_ISLOCKED(vp, NULL)) {
- Debugger("root vnode is locked.\n");
+ kdb_enter("root vnode is locked.\n");
vrele(vp);
return (EDEADLK);
}
OpenPOWER on IntegriCloud