summaryrefslogtreecommitdiffstats
path: root/sys/xfs
diff options
context:
space:
mode:
authorpedro <pedro@openbsd.org>2005-11-19 02:18:00 +0000
committerpedro <pedro@openbsd.org>2005-11-19 02:18:00 +0000
commit2752fedb0e6a3036aa609e83975baac96296b7a2 (patch)
tree7be2b88f62bd6f93c7501e677da2f224fc860f5c /sys/xfs
parentRemove superfluous statement-ending semi-colons. i.e., "return foo;;" should (diff)
downloadwireguard-openbsd-2752fedb0e6a3036aa609e83975baac96296b7a2.tar.xz
wireguard-openbsd-2752fedb0e6a3036aa609e83975baac96296b7a2.zip
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