]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Check the sectorsize of the underlying disk before trying to
authorrodrigc <rodrigc@FreeBSD.org>
Sat, 3 Jun 2006 21:20:37 +0000 (21:20 +0000)
committerrodrigc <rodrigc@FreeBSD.org>
Sat, 3 Jun 2006 21:20:37 +0000 (21:20 +0000)
commit5ca19bbf738cebdb32c8ace9486bed88a40bc1e8
treebf8700dca946847b9cddaf3a93aea89c6029dae5
parentbdcca9d25ab3e9b4623ec20485ddf89e16a616f7
Check the sectorsize of the underlying disk before trying to
bread() the UFS superblock.  Should eliminate crashes when trying
to do: mount -t ufs on an audio CD.

PR: kern/85893
Reported by: Russell Francis <rfrancis at ev dot net>
MFC after: 1 week
sys/ufs/ffs/ffs_vfsops.c