Remove the check for more than one open if one is a write op.

This allows using DVD+RW and DVD-RW as random storage, provided
the 32K blocksize is honoured for DVD-RW (DVD+RW has built in
read-modify-write).
This commit is contained in:
Søren Schmidt 2003-03-13 09:12:17 +00:00
parent 6918962fad
commit f711eff1d2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112188

View File

@ -504,11 +504,6 @@ acdopen(dev_t dev, int flags, int fmt, struct thread *td)
if (!cdp)
return ENXIO;
if (flags & FWRITE) {
if (count_dev(dev) > 1)
return EBUSY;
}
/* wait if drive is not finished loading the medium */
while (timeout--) {
struct atapi_reqsense *sense = cdp->device->result;