1/*
2 * modified for Lites 1.1
3 *
4 * Aug 1995, Godmar Back (gback@cs.utah.edu)
5 * University of Utah, Department of Computer Science
6 */
7/*
8 * Copyright (c) 1982, 1986, 1989, 1993
--- 524 unchanged lines hidden (view full) ---
533 } */ *ap;
534{
535 register struct ext2_sb_info *fs;
536 register struct inode *pip;
537 ino_t ino = ap->a_ino;
538 int mode;
539
540 pip = VTOI(ap->a_pvp);
541 /* Remove the inode from its hash chain */
542 ufs_ihashrem(pip);
543 fs = pip->i_e2fs;
544 if ((u_int)ino >= fs->s_inodes_per_group * fs->s_groups_count)
545 panic("ifree: range: dev = 0x%x, ino = %d, fs = %s",
546 pip->i_dev, ino, fs->fs_fsmnt);
547
548/* ext2_debug("ext2_vfree (%d, %d) called\n", pip->i_number, ap->a_mode);
549 */
550 ext2_discard_prealloc(pip);
--- 28 unchanged lines hidden ---
2 * modified for Lites 1.1
3 *
4 * Aug 1995, Godmar Back (gback@cs.utah.edu)
5 * University of Utah, Department of Computer Science
6 */
7/*
8 * Copyright (c) 1982, 1986, 1989, 1993
--- 524 unchanged lines hidden (view full) ---
533 } */ *ap;
534{
535 register struct ext2_sb_info *fs;
536 register struct inode *pip;
537 ino_t ino = ap->a_ino;
538 int mode;
539
540 pip = VTOI(ap->a_pvp);
541 /* Remove the inode from its hash chain */
542 ufs_ihashrem(pip);
543 fs = pip->i_e2fs;
544 if ((u_int)ino >= fs->s_inodes_per_group * fs->s_groups_count)
545 panic("ifree: range: dev = 0x%x, ino = %d, fs = %s",
546 pip->i_dev, ino, fs->fs_fsmnt);
547
548/* ext2_debug("ext2_vfree (%d, %d) called\n", pip->i_number, ap->a_mode);
549 */
550 ext2_discard_prealloc(pip);
--- 28 unchanged lines hidden ---