diff options
author | phk <phk@FreeBSD.org> | 1997-10-14 18:46:48 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-10-14 18:46:48 +0000 |
commit | 15a4cff98fa6536424b94a22e832812b22fdc0fd (patch) | |
tree | 8da8b82beb5af42385e9146956feb328905614ed /sys/ufs/ffs | |
parent | f239670138341525c55ec5ee2f164d1d9c3a66ad (diff) | |
download | FreeBSD-src-15a4cff98fa6536424b94a22e832812b22fdc0fd.zip FreeBSD-src-15a4cff98fa6536424b94a22e832812b22fdc0fd.tar.gz |
I think my previous change may have opened a race conditio.
This patch does the same thing, with no change in semantics.
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r-- | sys/ufs/ffs/ffs_alloc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index 056246a..425bf64 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ffs_alloc.c 8.18 (Berkeley) 5/26/95 - * $Id: ffs_alloc.c,v 1.37 1997/09/19 11:13:16 phk Exp $ + * $Id: ffs_alloc.c,v 1.38 1997/10/14 14:22:23 phk Exp $ */ #include "opt_quota.h" @@ -48,7 +48,6 @@ #include <ufs/ufs/quota.h> #include <ufs/ufs/inode.h> -#include <ufs/ufs/ufs_extern.h> #include <ufs/ffs/fs.h> #include <ufs/ffs/ffs_extern.h> @@ -1420,8 +1419,6 @@ ffs_vfree(ap) int error, cg; pip = VTOI(ap->a_pvp); - /* Remove the inode from its hash chain */ - ufs_ihashrem(pip); fs = pip->i_fs; if ((u_int)ino >= fs->fs_ipg * fs->fs_ncg) panic("ffs_vfree: range: dev = 0x%x, ino = %d, fs = %s", |