git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7168
91ce42f0-d328-0410-95d8-
f526ca767f89
*/
if (dev->is_blocked()) {
dev->dunblock(DEV_LOCKED);
*/
if (dev->is_blocked()) {
dev->dunblock(DEV_LOCKED);
+ } else {
+ dev->dunlock(); /* dunblock() unlock the device too */
}
Dmsg1(950, "jcr->dcr=%p\n", jcr->dcr);
return ok;
}
Dmsg1(950, "jcr->dcr=%p\n", jcr->dcr);
return ok;
+19Jun08
+ebl Fix a bug when restoring with a wrong mediatype.
18Jun08
kes Eliminate ints from conf files and structures to avoid
word alignment problems
18Jun08
kes Eliminate ints from conf files and structures to avoid
word alignment problems