summaryrefslogtreecommitdiff
path: root/sys/xfs
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2005-11-19 02:18:03 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2005-11-19 02:18:03 +0000
commit4e00bfe9e4fce563a74dcd487149539b6bc02ba9 (patch)
treea134970c4687287588758bb78c439e9cde819bb9 /sys/xfs
parent16017b33d1fad6b6fd295f39b365b33719b42ae9 (diff)
Remove unnecessary lockmgr() archaism that was costing too much in terms
of panics and bugfixes. Access curproc directly, do not expect a process pointer as an argument. Should fix many "process context required" bugs. Incentive and okay millert@, okay marc@. Various testing, thanks.
Diffstat (limited to 'sys/xfs')
-rw-r--r--sys/xfs/xfs_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/xfs/xfs_config.h b/sys/xfs/xfs_config.h
index 034e409a61d..57cf01c741e 100644
--- a/sys/xfs/xfs_config.h
+++ b/sys/xfs/xfs_config.h
@@ -225,7 +225,7 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
#define HAVE_FNMATCH_H 1
/* define if lockmgr takes four arguments */
-#define HAVE_FOUR_ARGUMENT_LOCKMGR 1
+/* #undef HAVE_FOUR_ARGUMENT_LOCKMGR */
/* define if vfs_busy takes four arguments */
#define HAVE_FOUR_ARGUMENT_VFS_BUSY 1