summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-09-23 15:37:27 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-09-23 15:37:27 +0000
commit3721e35031522411b31d7a21057a49bf27313bb0 (patch)
tree981a53fb256f05d3ee0fb8faf35c373bda3f077c /sys
parent12d2f7b84278b0d10a930ab1da7173d65257f519 (diff)
remove lockmgr_printinfo stubs. from Martin Natano
Diffstat (limited to 'sys')
-rw-r--r--sys/isofs/udf/udf_vnops.c3
-rw-r--r--sys/miscfs/fuse/fuse_vnops.c3
-rw-r--r--sys/msdosfs/msdosfs_vnops.c3
-rw-r--r--sys/sys/lock.h4
-rw-r--r--sys/ufs/ufs/ufs_vnops.c3
5 files changed, 5 insertions, 11 deletions
diff --git a/sys/isofs/udf/udf_vnops.c b/sys/isofs/udf/udf_vnops.c
index 14ae489eae2..d2e74617295 100644
--- a/sys/isofs/udf/udf_vnops.c
+++ b/sys/isofs/udf/udf_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udf_vnops.c,v 1.60 2015/03/14 03:38:50 jsg Exp $ */
+/* $OpenBSD: udf_vnops.c,v 1.61 2015/09/23 15:37:26 tedu Exp $ */
/*
* Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
@@ -935,7 +935,6 @@ udf_print(void *v)
*/
printf("tag VT_UDF, hash id %u\n", up->u_ino);
#ifdef DIAGNOSTIC
- lockmgr_printinfo(&up->u_lock);
printf("\n");
#endif
return (0);
diff --git a/sys/miscfs/fuse/fuse_vnops.c b/sys/miscfs/fuse/fuse_vnops.c
index 8ab7140ad50..c9a15b4cef8 100644
--- a/sys/miscfs/fuse/fuse_vnops.c
+++ b/sys/miscfs/fuse/fuse_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fuse_vnops.c,v 1.24 2015/04/17 04:43:21 guenther Exp $ */
+/* $OpenBSD: fuse_vnops.c,v 1.25 2015/09/23 15:37:26 tedu Exp $ */
/*
* Copyright (c) 2012-2013 Sylvestre Gallon <ccna.syl@gmail.com>
*
@@ -874,7 +874,6 @@ fusefs_print(void *v)
/* Complete the information given by vprint(). */
printf("tag VT_FUSE, hash id %u ", ip->ufs_ino.i_number);
- lockmgr_printinfo(&ip->ufs_ino.i_lock);
printf("\n");
return (0);
}
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c
index 723f1109374..86e086cc973 100644
--- a/sys/msdosfs/msdosfs_vnops.c
+++ b/sys/msdosfs/msdosfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_vnops.c,v 1.100 2015/04/17 04:43:21 guenther Exp $ */
+/* $OpenBSD: msdosfs_vnops.c,v 1.101 2015/09/23 15:37:26 tedu Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.63 1997/10/17 11:24:19 ws Exp $ */
/*-
@@ -1833,7 +1833,6 @@ msdosfs_print(void *v)
major(dep->de_dev), minor(dep->de_dev),
VOP_ISLOCKED(ap->a_vp) ? "(LOCKED)" : "");
#ifdef DIAGNOSTIC
- lockmgr_printinfo(&dep->de_lock);
printf("\n");
#endif
diff --git a/sys/sys/lock.h b/sys/sys/lock.h
index 834abc0431a..f6167c712eb 100644
--- a/sys/sys/lock.h
+++ b/sys/sys/lock.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: lock.h,v 1.25 2015/02/11 07:22:15 dlg Exp $ */
+/* $OpenBSD: lock.h,v 1.26 2015/09/23 15:37:26 tedu Exp $ */
/*
* Copyright (c) 1995
@@ -61,6 +61,4 @@ void lockinit(struct lock *, int, char *, int, int);
int lockmgr(struct lock *, u_int flags, void *);
int lockstatus(struct lock *);
-#define lockmgr_printinfo(lkp)
-
#endif /* !_LOCK_H_ */
diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c
index e6f543b8cb9..4d213565da8 100644
--- a/sys/ufs/ufs/ufs_vnops.c
+++ b/sys/ufs/ufs/ufs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ufs_vnops.c,v 1.121 2015/04/17 04:43:21 guenther Exp $ */
+/* $OpenBSD: ufs_vnops.c,v 1.122 2015/09/23 15:37:26 tedu Exp $ */
/* $NetBSD: ufs_vnops.c,v 1.18 1996/05/11 18:28:04 mycroft Exp $ */
/*
@@ -1648,7 +1648,6 @@ ufs_print(void *v)
if (vp->v_type == VFIFO)
fifo_printinfo(vp);
#endif /* FIFO */
- lockmgr_printinfo(&ip->i_lock);
printf("\n");
#endif /* DIAGNOSTIC */