summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-02-26 17:34:53 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-02-26 17:34:53 +0000
commit68fef840f521550234a2964603bd68fe039c6319 (patch)
tree548d32aab798c80ae9007577e5b2c50f0e78e799
parent085bb7f99e128a7516588b9f809fda911583c87c (diff)
regen
-rw-r--r--sys/kern/vnode_if.c56
-rw-r--r--sys/sys/vnode_if.h2
2 files changed, 29 insertions, 29 deletions
diff --git a/sys/kern/vnode_if.c b/sys/kern/vnode_if.c
index f91bb6527ab..a823665d0df 100644
--- a/sys/kern/vnode_if.c
+++ b/sys/kern/vnode_if.c
@@ -5,7 +5,7 @@
* Created from the file:
* OpenBSD: vnode_if.src,v 1.9 1998/12/05 16:54:02 csapuntz Exp
* by the script:
- * OpenBSD: vnode_if.sh,v 1.7 2001/02/26 17:12:27 art Exp
+ * OpenBSD: vnode_if.sh,v 1.8 2001/02/26 17:34:18 art Exp
*/
/*
@@ -137,7 +137,7 @@ int VOP_CREATE(dvp, vpp, cnp, vap)
struct vop_create_args a;
a.a_desc = VDESC(vop_create);
a.a_dvp = dvp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((dvp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(dvp))
panic("vop_create: dvp");
#endif
@@ -172,7 +172,7 @@ int VOP_MKNOD(dvp, vpp, cnp, vap)
struct vop_mknod_args a;
a.a_desc = VDESC(vop_mknod);
a.a_dvp = dvp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((dvp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(dvp))
panic("vop_mknod: dvp");
#endif
@@ -269,7 +269,7 @@ int VOP_ACCESS(vp, mode, cred, p)
struct vop_access_args a;
a.a_desc = VDESC(vop_access);
a.a_vp = vp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vop_access: vp");
#endif
@@ -335,7 +335,7 @@ int VOP_SETATTR(vp, vap, cred, p)
struct vop_setattr_args a;
a.a_desc = VDESC(vop_setattr);
a.a_vp = vp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vop_setattr: vp");
#endif
@@ -370,7 +370,7 @@ int VOP_READ(vp, uio, ioflag, cred)
struct vop_read_args a;
a.a_desc = VDESC(vop_read);
a.a_vp = vp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vop_read: vp");
#endif
@@ -405,7 +405,7 @@ int VOP_WRITE(vp, uio, ioflag, cred)
struct vop_write_args a;
a.a_desc = VDESC(vop_write);
a.a_vp = vp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vop_write: vp");
#endif
@@ -597,7 +597,7 @@ int VOP_FSYNC(vp, cred, waitfor, p)
struct vop_fsync_args a;
a.a_desc = VDESC(vop_fsync);
a.a_vp = vp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vop_fsync: vp");
#endif
@@ -663,12 +663,12 @@ int VOP_REMOVE(dvp, vp, cnp)
struct vop_remove_args a;
a.a_desc = VDESC(vop_remove);
a.a_dvp = dvp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((dvp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(dvp))
panic("vop_remove: dvp");
#endif
a.a_vp = vp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vop_remove: vp");
#endif
@@ -701,7 +701,7 @@ int VOP_LINK(dvp, vp, cnp)
struct vop_link_args a;
a.a_desc = VDESC(vop_link);
a.a_dvp = dvp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((dvp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(dvp))
panic("vop_link: dvp");
#endif
@@ -743,7 +743,7 @@ int VOP_RENAME(fdvp, fvp, fcnp, tdvp, tvp, tcnp)
a.a_fvp = fvp;
a.a_fcnp = fcnp;
a.a_tdvp = tdvp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((tdvp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(tdvp))
panic("vop_rename: tdvp");
#endif
@@ -777,7 +777,7 @@ int VOP_MKDIR(dvp, vpp, cnp, vap)
struct vop_mkdir_args a;
a.a_desc = VDESC(vop_mkdir);
a.a_dvp = dvp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((dvp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(dvp))
panic("vop_mkdir: dvp");
#endif
@@ -812,12 +812,12 @@ int VOP_RMDIR(dvp, vp, cnp)
struct vop_rmdir_args a;
a.a_desc = VDESC(vop_rmdir);
a.a_dvp = dvp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((dvp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(dvp))
panic("vop_rmdir: dvp");
#endif
a.a_vp = vp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vop_rmdir: vp");
#endif
@@ -851,7 +851,7 @@ int VOP_SYMLINK(dvp, vpp, cnp, vap, target)
struct vop_symlink_args a;
a.a_desc = VDESC(vop_symlink);
a.a_dvp = dvp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((dvp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(dvp))
panic("vop_symlink: dvp");
#endif
@@ -889,7 +889,7 @@ int VOP_READDIR(vp, uio, cred, eofflag, ncookies, cookies)
struct vop_readdir_args a;
a.a_desc = VDESC(vop_readdir);
a.a_vp = vp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vop_readdir: vp");
#endif
@@ -925,7 +925,7 @@ int VOP_READLINK(vp, uio, cred)
struct vop_readlink_args a;
a.a_desc = VDESC(vop_readlink);
a.a_vp = vp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vop_readlink: vp");
#endif
@@ -984,7 +984,7 @@ int VOP_INACTIVE(vp, p)
struct vop_inactive_args a;
a.a_desc = VDESC(vop_inactive);
a.a_vp = vp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vop_inactive: vp");
#endif
@@ -1103,7 +1103,7 @@ int VOP_BMAP(vp, bn, vpp, bnp, runp)
struct vop_bmap_args a;
a.a_desc = VDESC(vop_bmap);
a.a_vp = vp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vop_bmap: vp");
#endif
@@ -1226,7 +1226,7 @@ int VOP_BLKATOFF(vp, offset, res, bpp)
struct vop_blkatoff_args a;
a.a_desc = VDESC(vop_blkatoff);
a.a_vp = vp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vop_blkatoff: vp");
#endif
@@ -1261,7 +1261,7 @@ int VOP_VALLOC(pvp, mode, cred, vpp)
struct vop_valloc_args a;
a.a_desc = VDESC(vop_valloc);
a.a_pvp = pvp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((pvp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(pvp))
panic("vop_valloc: pvp");
#endif
@@ -1298,7 +1298,7 @@ int VOP_BALLOC(vp, startoffset, size, cred, flags, bpp)
struct vop_balloc_args a;
a.a_desc = VDESC(vop_balloc);
a.a_vp = vp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vop_balloc: vp");
#endif
@@ -1333,7 +1333,7 @@ int VOP_REALLOCBLKS(vp, buflist)
struct vop_reallocblks_args a;
a.a_desc = VDESC(vop_reallocblks);
a.a_vp = vp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vop_reallocblks: vp");
#endif
@@ -1365,7 +1365,7 @@ int VOP_VFREE(pvp, ino, mode)
struct vop_vfree_args a;
a.a_desc = VDESC(vop_vfree);
a.a_pvp = pvp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((pvp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(pvp))
panic("vop_vfree: pvp");
#endif
@@ -1400,7 +1400,7 @@ int VOP_TRUNCATE(vp, length, flags, cred, p)
struct vop_truncate_args a;
a.a_desc = VDESC(vop_truncate);
a.a_vp = vp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vop_truncate: vp");
#endif
@@ -1436,7 +1436,7 @@ int VOP_UPDATE(vp, access, modify, waitfor)
struct vop_update_args a;
a.a_desc = VDESC(vop_update);
a.a_vp = vp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((vp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp))
panic("vop_update: vp");
#endif
@@ -1470,7 +1470,7 @@ int VOP_WHITEOUT(dvp, cnp, flags)
struct vop_whiteout_args a;
a.a_desc = VDESC(vop_whiteout);
a.a_dvp = dvp;
-#ifdef DIAGNOSTIC
+#ifdef LOCKDEBUG
if ((dvp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(dvp))
panic("vop_whiteout: dvp");
#endif
diff --git a/sys/sys/vnode_if.h b/sys/sys/vnode_if.h
index a5a2af6537f..dd879b64134 100644
--- a/sys/sys/vnode_if.h
+++ b/sys/sys/vnode_if.h
@@ -5,7 +5,7 @@
* Created from the file:
* OpenBSD: vnode_if.src,v 1.9 1998/12/05 16:54:02 csapuntz Exp
* by the script:
- * OpenBSD: vnode_if.sh,v 1.7 2001/02/26 17:12:27 art Exp
+ * OpenBSD: vnode_if.sh,v 1.8 2001/02/26 17:34:18 art Exp
*/
/*