diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-10-14 14:22:31 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-10-14 14:22:31 +0000 |
commit | 34a6a33036fa9623f55bf3bd475d12d23dac1652 (patch) | |
tree | 0cd51d313aa4ed36e1de01fa98dbaf05198e44bf /sys/ufs/lfs | |
parent | b2fad8ae7a5ff18949a668c1fe61116f5e7dc37e (diff) |
ufs_ihashrem() should not be called from the UFS layer, but from the
lower layer (LFS/FFS/?) like the rest of the ihash functions.
Otherwise it is impossible to make a lower layer that doesn't use the
ihash facility.
Notes
Notes:
svn path=/head/; revision=30402
Diffstat (limited to 'sys/ufs/lfs')
-rw-r--r-- | sys/ufs/lfs/lfs_alloc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ufs/lfs/lfs_alloc.c b/sys/ufs/lfs/lfs_alloc.c index 7d1e80ccd80c..19cd4f8c8a7b 100644 --- a/sys/ufs/lfs/lfs_alloc.c +++ b/sys/ufs/lfs/lfs_alloc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)lfs_alloc.c 8.7 (Berkeley) 5/14/95 - * $Id: lfs_alloc.c,v 1.14 1997/03/23 00:45:07 bde Exp $ + * $Id: lfs_alloc.c,v 1.15 1997/08/02 14:33:19 bde Exp $ */ #include "opt_quota.h" @@ -223,6 +223,8 @@ lfs_vfree(ap) /* Get the inode number and file system. */ ip = VTOI(ap->a_pvp); + /* Remove the inode from its hash chain */ + ufs_ihashrem(ip); fs = ip->i_lfs; ino = ip->i_number; if (ip->i_flag & IN_MODIFIED) { |