From: Kern Sibbald Date: Thu, 13 Aug 2009 18:28:12 +0000 (+0200) Subject: Missed commiting one file last time X-Git-Tag: Release-5.0.0~333^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=934db5a688790e1bb3100f7d560608478e8a7dfe;p=bacula%2Fbacula Missed commiting one file last time --- diff --git a/bacula/src/stored/reserve.c b/bacula/src/stored/reserve.c index 742c9b512b..2326d1bb9e 100644 --- a/bacula/src/stored/reserve.c +++ b/bacula/src/stored/reserve.c @@ -761,7 +761,7 @@ static bool reserve_device_for_read(DCR *dcr) dev->dlock(); - if (is_device_unmounted(dev)) { + if (dev->is_device_unmounted()) { Dmsg1(dbglvl, "Device %s is BLOCKED due to user unmount.\n", dev->print_name()); Mmsg(jcr->errmsg, _("3601 JobId=%u device %s is BLOCKED due to user unmount.\n"), jcr->JobId, dev->print_name()); @@ -828,7 +828,7 @@ static bool reserve_device_for_append(DCR *dcr, RCTX &rctx) } /* If device is unmounted, we are out of luck */ - if (is_device_unmounted(dev)) { + if (dev->is_device_unmounted()) { Mmsg(jcr->errmsg, _("3604 JobId=%u device %s is BLOCKED due to user unmount.\n"), jcr->JobId, dev->print_name()); Dmsg1(dbglvl, "%s", jcr->errmsg);