diff options
Diffstat (limited to 'sys/gnu/fs')
| -rw-r--r-- | sys/gnu/fs/ext2fs/ext2_alloc.c | 2 | ||||
| -rw-r--r-- | sys/gnu/fs/ext2fs/inode.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_alloc.c b/sys/gnu/fs/ext2fs/ext2_alloc.c index a570ce4db9ddd..64e9b87180daa 100644 --- a/sys/gnu/fs/ext2fs/ext2_alloc.c +++ b/sys/gnu/fs/ext2fs/ext2_alloc.c @@ -538,8 +538,6 @@ ext2_vfree(ap) int mode; pip = VTOI(ap->a_pvp); - /* Remove the inode from its hash chain */ - ufs_ihashrem(pip); fs = pip->i_e2fs; if ((u_int)ino >= fs->s_inodes_per_group * fs->s_groups_count) panic("ifree: range: dev = 0x%x, ino = %d, fs = %s", diff --git a/sys/gnu/fs/ext2fs/inode.h b/sys/gnu/fs/ext2fs/inode.h index 464713603ae79..8a7e93599ce41 100644 --- a/sys/gnu/fs/ext2fs/inode.h +++ b/sys/gnu/fs/ext2fs/inode.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)inode.h 8.9 (Berkeley) 5/14/95 - * $Id: inode.h,v 1.15 1997/05/22 07:30:55 phk Exp $ + * $Id: inode.h,v 1.16 1997/07/13 15:40:31 bde Exp $ */ #ifndef _UFS_UFS_INODE_H_ @@ -121,6 +121,7 @@ struct inode { #define IN_RENAME 0x0010 /* Inode is being renamed. */ #define IN_SHLOCK 0x0020 /* File has shared lock. */ #define IN_EXLOCK 0x0040 /* File has exclusive lock. */ +#define IN_HASHED 0x0080 /* Inode is on hash list */ #ifdef KERNEL /* |
