Removed bug in burn_disc_write_sync(): BURN_DRIVE_IDLE, then d->sync_cache()

This commit is contained in:
2006-10-13 11:46:07 +00:00
parent 170eb96356
commit 6ad8e2e251
5 changed files with 10 additions and 4 deletions

View File

@ -658,6 +658,10 @@ return crap. so we send the command, then ignore the result.
burn_print(1, "done\n");
d->busy = BURN_DRIVE_IDLE;
/* ts A61012 : This return was traditionally missing, a suspect this
to have caused Cdrskin_eject() failures */
return;
fail:
d->sync_cache(d);
burn_print(1, "done - failed\n");