Made burn_drive_release() always unlock drive
This commit is contained in:
parent
e89db6141e
commit
27c2fee063
@ -110,8 +110,8 @@ void burn_drive_release(struct burn_drive *d, int le)
|
|||||||
if (d->released)
|
if (d->released)
|
||||||
burn_print(1, "second release on drive!\n");
|
burn_print(1, "second release on drive!\n");
|
||||||
assert(!d->busy);
|
assert(!d->busy);
|
||||||
if (le)
|
|
||||||
d->unlock(d);
|
d->unlock(d);
|
||||||
|
if (le)
|
||||||
d->eject(d);
|
d->eject(d);
|
||||||
|
|
||||||
d->release(d);
|
d->release(d);
|
||||||
|
Loading…
Reference in New Issue
Block a user