cvs commit: src/sys/gnu/fs/ext2fs ext2_vfsops.c
Xin LI
delphij at FreeBSD.org
Thu Oct 6 11:27:28 PDT 2005
delphij 2005-10-06 18:27:27 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/gnu/fs/ext2fs ext2_vfsops.c
Log:
MFC 1.154 (by rodrigc)
| 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
|
| Revision Changes Path
| 1.154 +12 -0 src/sys/gnu/fs/ext2fs/ext2_vfsops.c
Approved by: re (scottl)
Revision Changes Path
1.151.2.2 +12 -0 src/sys/gnu/fs/ext2fs/ext2_vfsops.c
More information about the cvs-src
mailing list