Date: Thu, 6 Oct 2005 18:27:27 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/gnu/fs/ext2fs ext2_vfsops.c Message-ID: <200510061827.j96IRRYT077201@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510061827.j96IRRYT077201>