From 261d7b4f9d93dbb279579a2f7f5219ead4444a2a Mon Sep 17 00:00:00 2001 From: Constantine Sapuntzakis Date: Sat, 5 Dec 1998 17:01:10 +0000 Subject: Finally, enable lock checking for FFS, which has full-blown lock support. --- sys/ufs/ffs/ffs_vfsops.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index a04856d30ee..f2bb8e21816 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_vfsops.c,v 1.20 1998/11/27 22:52:42 art Exp $ */ +/* $OpenBSD: ffs_vfsops.c,v 1.21 1998/12/05 17:01:09 csapuntz Exp $ */ /* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */ /* @@ -970,6 +970,9 @@ retry: *vpp = NULL; return (error); } +#ifdef DIAGNOSTIC + vp->v_flag |= VLOCKSWORK; +#endif type = ump->um_devvp->v_tag == VT_MFS ? M_MFSNODE : M_FFSNODE; /* XXX */ MALLOC(ip, struct inode *, sizeof(struct inode), type, M_WAITOK); bzero((caddr_t)ip, sizeof(struct inode)); -- cgit v1.2.3