freebsd-nq/sys/gnu/fs/ext2fs
Ian Dowse ca305f613f Fix two off-by-one errors when sanity-checking inode numbers. In
ext2fs, inode numbers start at 1, so the maximum valid inode number
is (s_inodes_per_group * s_groups_count), not one less. This is
just a minimal change to avoid unnecessary panics and errors; some
other related bugs that Bruce Evans mentioned to me are not addressed.

Reviewed by:	bde (ages ago)
2002-05-18 21:33:07 +00:00
..
COPYRIGHT.INFO Updated/corrected the list of GPL'ed files. 2000-01-01 11:27:50 +00:00
ext2_alloc.c Fix two off-by-one errors when sanity-checking inode numbers. In 2002-05-18 21:33:07 +00:00
ext2_balloc.c Use explicitly-sized types where necessary to make ext2fs work again 2002-05-18 19:12:38 +00:00
ext2_bmap.c Use explicitly-sized types where necessary to make ext2fs work again 2002-05-18 19:12:38 +00:00
ext2_extern.h Use explicitly-sized types where necessary to make ext2fs work again 2002-05-18 19:12:38 +00:00
ext2_fs_sb.h
ext2_fs.h Complete the separation of ext2fs from ufs by copying the remaining 2002-05-16 19:08:03 +00:00
ext2_inode_cnv.c Complete the separation of ext2fs from ufs by copying the remaining 2002-05-16 19:08:03 +00:00
ext2_inode.c Use explicitly-sized types where necessary to make ext2fs work again 2002-05-18 19:12:38 +00:00
ext2_linux_balloc.c Complete the separation of ext2fs from ufs by copying the remaining 2002-05-16 19:08:03 +00:00
ext2_linux_ialloc.c Complete the separation of ext2fs from ufs by copying the remaining 2002-05-16 19:08:03 +00:00
ext2_lookup.c Give ext2fs its own static "dirchk" variable instead of using ufs's 2002-05-16 20:53:04 +00:00
ext2_mount.h Following a repo-copy from src/sys/ufs/ufs, rename functions and 2002-05-14 17:14:01 +00:00
ext2_readwrite.c Remove register keyword. 2002-05-16 19:43:28 +00:00
ext2_subr.c Use explicitly-sized types where necessary to make ext2fs work again 2002-05-18 19:12:38 +00:00
ext2_vfsops.c Fix two off-by-one errors when sanity-checking inode numbers. In 2002-05-18 21:33:07 +00:00
ext2_vnops.c Use explicitly-sized types where necessary to make ext2fs work again 2002-05-18 19:12:38 +00:00
fs.h Complete the separation of ext2fs from ufs by copying the remaining 2002-05-16 19:08:03 +00:00
i386-bitops.h Fix __asm__ clobber list abuse. 1999-11-15 23:16:06 +00:00
inode.h Use explicitly-sized types where necessary to make ext2fs work again 2002-05-18 19:12:38 +00:00