summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_lockf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_lockf.c')
-rw-r--r--sys/kern/kern_lockf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/kern_lockf.c b/sys/kern/kern_lockf.c
index 000e645..f8adbcc 100644
--- a/sys/kern/kern_lockf.c
+++ b/sys/kern/kern_lockf.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)ufs_lockf.c 8.3 (Berkeley) 1/6/94
- * $Id: kern_lockf.c,v 1.13 1997/02/22 09:39:06 peter Exp $
+ * $Id: kern_lockf.c,v 1.14 1997/04/01 10:30:06 bde Exp $
*/
#include <sys/param.h>
@@ -60,10 +60,13 @@ static int maxlockdepth = MAXDEPTH;
#include <ufs/ufs/quota.h>
#include <ufs/ufs/inode.h>
+
static int lockf_debug = 0;
SYSCTL_INT(_debug, OID_AUTO, lockf_debug, CTLFLAG_RW, &lockf_debug, 0, "");
#endif
+MALLOC_DEFINE(M_LOCKF, "lockf", "Byte-range locking structures");
+
#define NOLOCKF (struct lockf *)0
#define SELF 0x1
#define OTHERS 0x2
OpenPOWER on IntegriCloud