Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Sep 2005 21:30:49 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@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:  <200509102130.j8ALUnGn075745@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509102130.j8ALUnGn075745>