summaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2005-05-23 21:16:29 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2005-05-23 21:16:29 +0000
commit3e13a037b13816fbefb06c09762f7ac1b1cd5371 (patch)
tree7991a66f62e909083fc99e0ac2894e4f73e98c9f /sys/ufs
parentc65d7b5d93d55794b06a0aa84c5078cacc3b69c1 (diff)
re-enable softdep notification of inode mode change,
talked over with marius@ and tedu@
Diffstat (limited to 'sys/ufs')
-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);
}