From: Kern Sibbald Date: Fri, 16 Oct 2009 09:53:33 +0000 (+0200) Subject: Possible fix for problem with Volume in another drive X-Git-Tag: Release-7.0.0~2602^2~1^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bc3876afa55db754e4fcec5c18b36e36db252375;p=bacula%2Fbacula Possible fix for problem with Volume in another drive --- diff --git a/bacula/src/stored/autochanger.c b/bacula/src/stored/autochanger.c index b42c2110d5..792dfe3bcb 100644 --- a/bacula/src/stored/autochanger.c +++ b/bacula/src/stored/autochanger.c @@ -432,6 +432,7 @@ static bool unload_other_drive(DCR *dcr, int slot) Dmsg4(100, "Vol %s for dev=%s is busy dev=%s slot=%d\n", dcr->VolumeName, dcr->dev->print_name(), dev->print_name(), dev->get_slot()); Dmsg2(100, "num_writ=%d reserv=%d\n", dev->num_writers, dev->num_reserved()); + volume_unused(dcr); return false; } return unload_dev(dcr, dev);