diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1998-12-05 17:01:10 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1998-12-05 17:01:10 +0000 |
commit | 261d7b4f9d93dbb279579a2f7f5219ead4444a2a (patch) | |
tree | 11b2313dac571b05b1f8b44b74e620360816eb12 /sys/ufs/ffs/ffs_vfsops.c | |
parent | 2755c160cfb46ac1684fcdb69afb55a20bc41e26 (diff) |
Finally, enable lock checking for FFS, which has full-blown lock support.
Diffstat (limited to 'sys/ufs/ffs/ffs_vfsops.c')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 5 |
1 files changed, 4 insertions, 1 deletions
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)); |