summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpedro <pedro@openbsd.org>2005-05-23 21:16:28 +0000
committerpedro <pedro@openbsd.org>2005-05-23 21:16:28 +0000
commit0adcdb3dc770255ebfe78d3a14b952d29dfae299 (patch)
treed346e02305a39dbe1eeea3ed78dbc1af92b004aa
parentbye bye (diff)
downloadwireguard-openbsd-0adcdb3dc770255ebfe78d3a14b952d29dfae299.tar.xz
wireguard-openbsd-0adcdb3dc770255ebfe78d3a14b952d29dfae299.zip
re-enable softdep notification of inode mode change,
talked over with marius@ and tedu@
-rw-r--r--sys/ufs/ufs/ufs_inode.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/ufs/ufs/ufs_inode.c b/sys/ufs/ufs/ufs_inode.c
index a42d85cd004..60bfbe09b8e 100644
--- a/sys/ufs/ufs/ufs_inode.c
+++ b/sys/ufs/ufs/ufs_inode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ufs_inode.c,v 1.26 2005/02/17 18:07:37 jfb Exp $ */
+/* $OpenBSD: ufs_inode.c,v 1.27 2005/05/23 21:16:28 pedro Exp $ */
/* $NetBSD: ufs_inode.c,v 1.7 1996/05/11 18:27:52 mycroft Exp $ */
/*
@@ -96,11 +96,6 @@ ufs_inactive(v)
ip->i_ffs_mode = 0;
ip->i_flag |= IN_CHANGE | IN_UPDATE;
-#if 0
- /*
- * disabled. this can wrap around to the point getnewvnode
- * will try to recycle us, causing a lockmgr panic.
- */
/*
* Setting the mode to zero needs to wait for the inode to be
* written just as does a change to the link count. So, rather
@@ -109,7 +104,6 @@ ufs_inactive(v)
*/
if (DOINGSOFTDEP(vp))
softdep_change_linkcnt(ip);
-#endif
UFS_INODE_FREE(ip, ip->i_number, mode);
}