Date: Wed, 18 Aug 2004 20:34:45 +0000 (UTC) From: Lukas Ertl <le@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom/vinum geom_vinum_drive.c Message-ID: <200408182034.i7IKYktr094033@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
le 2004-08-18 20:34:45 UTC
FreeBSD src repository
Modified files:
sys/geom/vinum geom_vinum_drive.c
Log:
Fix a stupid bug in the drive taste function: when checking if a
drive is known to the configuration check also if it already has a geom.
Without this check several needless geoms are created and valid
configuration data was overwritten.
This change obsoletes the need for a separate geom to taste an
offered provider and the consumer doesn't need to be opened with the
exclusive bit set.
Revision Changes Path
1.10 +10 -28 src/sys/geom/vinum/geom_vinum_drive.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408182034.i7IKYktr094033>
