summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/gnu/ext2fs/ext2_ihash.c3
-rw-r--r--sys/ufs/ufs/ufs_ihash.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/gnu/ext2fs/ext2_ihash.c b/sys/gnu/ext2fs/ext2_ihash.c
index e536e1e..8d41313 100644
--- a/sys/gnu/ext2fs/ext2_ihash.c
+++ b/sys/gnu/ext2fs/ext2_ihash.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ufs_ihash.c 8.7 (Berkeley) 5/17/95
- * $Id: ufs_ihash.c,v 1.9 1997/10/12 20:26:21 phk Exp $
+ * $Id: ufs_ihash.c,v 1.10 1997/10/14 18:46:47 phk Exp $
*/
#include <sys/param.h>
@@ -144,6 +144,7 @@ ufs_ihashrem(ip)
{
simple_lock(&ufs_ihash_slock);
if (ip->i_flags & IN_HASHED) {
+ ip->i_flags &= ~IN_HASHED;
LIST_REMOVE(ip, i_hash);
#ifdef DIAGNOSTIC
ip->i_hash.le_next = NULL;
diff --git a/sys/ufs/ufs/ufs_ihash.c b/sys/ufs/ufs/ufs_ihash.c
index e536e1e..8d41313 100644
--- a/sys/ufs/ufs/ufs_ihash.c
+++ b/sys/ufs/ufs/ufs_ihash.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ufs_ihash.c 8.7 (Berkeley) 5/17/95
- * $Id: ufs_ihash.c,v 1.9 1997/10/12 20:26:21 phk Exp $
+ * $Id: ufs_ihash.c,v 1.10 1997/10/14 18:46:47 phk Exp $
*/
#include <sys/param.h>
@@ -144,6 +144,7 @@ ufs_ihashrem(ip)
{
simple_lock(&ufs_ihash_slock);
if (ip->i_flags & IN_HASHED) {
+ ip->i_flags &= ~IN_HASHED;
LIST_REMOVE(ip, i_hash);
#ifdef DIAGNOSTIC
ip->i_hash.le_next = NULL;
OpenPOWER on IntegriCloud