diff options
author | phk <phk@FreeBSD.org> | 1997-10-14 18:51:07 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-10-14 18:51:07 +0000 |
commit | 03bfa835e8f8e182aab0c2e6c1ebfa86e0f9a0e6 (patch) | |
tree | 9bc8c31f299241acd3960bb1ee16482af0c81db1 /sys/ufs | |
parent | 15a4cff98fa6536424b94a22e832812b22fdc0fd (diff) | |
download | FreeBSD-src-03bfa835e8f8e182aab0c2e6c1ebfa86e0f9a0e6.zip FreeBSD-src-03bfa835e8f8e182aab0c2e6c1ebfa86e0f9a0e6.tar.gz |
Reset the flag right away, could catch a bogon someday.
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ufs/ufs_ihash.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |