cvs commit: src/sys/gnu/fs/ext2fs ext2_vfsops.c

Craig Rodrigues rodrigc at FreeBSD.org
Sat Sep 10 14:30:51 PDT 2005


rodrigc     2005-09-10 21:30:49 UTC

  FreeBSD src repository

  Modified files:
    sys/gnu/fs/ext2fs    ext2_vfsops.c 
  Log:
  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


More information about the cvs-src mailing list