diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1998-12-05 16:58:27 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1998-12-05 16:58:27 +0000 |
commit | 2755c160cfb46ac1684fcdb69afb55a20bc41e26 (patch) | |
tree | ae675e55dff8a34732b79fdc9ddaa1feec2da691 /sys | |
parent | ff021178285623901ab87f4111b5159faa28aa17 (diff) |
Make sure the VLOCKSWORK diagnostic flag is correctly maintained.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ufs/ufs/ufs_vnops.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c index 7f899bac0bf..5a3aa31e684 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.21 1998/11/12 04:30:03 csapuntz Exp $ */ +/* $OpenBSD: ufs_vnops.c,v 1.22 1998/12/05 16:58:26 csapuntz Exp $ */ /* $NetBSD: ufs_vnops.c,v 1.18 1996/05/11 18:28:04 mycroft Exp $ */ /* @@ -1980,6 +1980,9 @@ ufs_vinit(mntp, specops, fifoops, vpp) nvp->v_data = vp->v_data; vp->v_data = NULL; vp->v_op = spec_vnodeop_p; +#ifdef DIAGNOSTIC + vp->v_flag &= ~VLOCKSWORK; +#endif vrele(vp); vgone(vp); /* |