]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Check the sectorsize of the underlying disk before trying to
authorCraig Rodrigues <rodrigc@FreeBSD.org>
Sat, 3 Jun 2006 21:20:37 +0000 (21:20 +0000)
committerCraig Rodrigues <rodrigc@FreeBSD.org>
Sat, 3 Jun 2006 21:20:37 +0000 (21:20 +0000)
commit71ac2d7c7c3868762e9d33d8f20ce08a62a8f554
treebf8700dca946847b9cddaf3a93aea89c6029dae5
parent49b94bfc54b617782de9f235dd59702b64f0022b
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