opnsense-src/sys/gnu/fs/ext2fs
Craig Rodrigues bdb7d194d0 In ext2_mountfs(), check that the superblock size, SBSIZE,
is aligned with the sectorsize value returned by GEOM, before
doing a bread() of the superblock.
This eliminates a panic when trying the following on an empty CD-ROM drive:
mount_ext2fs /dev/acd0 /mnt

Reviewed by:	phk
2005-09-10 21:30:49 +00:00
..
COPYRIGHT.INFO
ext2_alloc.c Move ext2fs from src/gnu to src/gnu/fs. 2005-06-15 02:36:11 +00:00
ext2_balloc.c Move ext2fs from src/gnu to src/gnu/fs. 2005-06-15 02:36:11 +00:00
ext2_bitops.h /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
ext2_bmap.c Move ext2fs from src/gnu to src/gnu/fs. 2005-06-15 02:36:11 +00:00
ext2_extern.h Use vfs_hash() instead of home-rolled 2005-03-14 13:30:06 +00:00
ext2_fs.h Add standard GPL boilerplate to these files. They are the only ones 2005-06-16 06:51:38 +00:00
ext2_fs_sb.h Add standard GPL boilerplate to these files. They are the only ones 2005-06-16 06:51:38 +00:00
ext2_inode.c Move ext2fs from src/gnu to src/gnu/fs. 2005-06-15 02:36:11 +00:00
ext2_inode_cnv.c Move ext2fs from src/gnu to src/gnu/fs. 2005-06-15 02:36:11 +00:00
ext2_linux_balloc.c Add standard GPL boilerplate to these files. They are the only ones 2005-06-16 06:51:38 +00:00
ext2_linux_ialloc.c Add standard GPL boilerplate to these files. They are the only ones 2005-06-16 06:51:38 +00:00
ext2_lookup.c Move ext2fs from src/gnu to src/gnu/fs. 2005-06-15 02:36:11 +00:00
ext2_mount.h /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
ext2_readwrite.c /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
ext2_subr.c Move ext2fs from src/gnu to src/gnu/fs. 2005-06-15 02:36:11 +00:00
ext2_vfsops.c In ext2_mountfs(), check that the superblock size, SBSIZE, 2005-09-10 21:30:49 +00:00
ext2_vnops.c Repair this: 2005-07-09 18:30:31 +00:00
fs.h Add a new struct buf flag bit, B_PERSISTENT, and use it to tag 2005-09-08 06:30:05 +00:00
i386-bitops.h Add standard GPL boilerplate to these files. They are the only ones 2005-06-16 06:51:38 +00:00
inode.h Remove inode fields previously used for private inode hash tables. 2005-03-16 08:09:52 +00:00
sparc64-bitops.h Add standard GPL boilerplate to these files. They are the only ones 2005-06-16 06:51:38 +00:00