summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2005-05-28 17:56:29 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2005-05-28 17:56:29 +0000
commitf1a528ab352f5d519df309fc8c48e1791fc2baa4 (patch)
tree06e5930711bc17f4f920dbbf4f6338c7006011d3
parent765a086039ad5586cdb81ee7c37b598d01b49eae (diff)
Disable the recently enabled optimization since it seems to cause a
loop in the kernel that makes us overwrite the stack and anything else we might run into. beck@ pedro@ ok
-rw-r--r--sys/ufs/ufs/ufs_inode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_inode.c b/sys/ufs/ufs/ufs_inode.c
index 60bfbe09b8e..2be3b167bb8 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.27 2005/05/23 21:16:28 pedro Exp $ */
+/* $OpenBSD: ufs_inode.c,v 1.28 2005/05/28 17:56:28 art Exp $ */
/* $NetBSD: ufs_inode.c,v 1.7 1996/05/11 18:27:52 mycroft Exp $ */
/*
@@ -96,6 +96,7 @@ ufs_inactive(v)
ip->i_ffs_mode = 0;
ip->i_flag |= IN_CHANGE | IN_UPDATE;
+#if 0
/*
* 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
@@ -104,6 +105,7 @@ ufs_inactive(v)
*/
if (DOINGSOFTDEP(vp))
softdep_change_linkcnt(ip);
+#endif
UFS_INODE_FREE(ip, ip->i_number, mode);
}