From: Kern Sibbald Date: Sun, 11 Oct 2009 14:12:26 +0000 (+0200) Subject: Fix changing read device during VirtualFull in SD X-Git-Tag: Release-7.0.0~2602^2~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b1645c7309b33aa8aa5cf40910444cdfe0636942;p=bacula%2Fbacula Fix changing read device during VirtualFull in SD --- diff --git a/bacula/src/stored/reserve.c b/bacula/src/stored/reserve.c index 2326d1bb9e..2a1f3031f5 100644 --- a/bacula/src/stored/reserve.c +++ b/bacula/src/stored/reserve.c @@ -634,7 +634,7 @@ static int reserve_device(RCTX &rctx) rctx.suitable_device = true; Dmsg1(dbglvl, "try reserve %s\n", rctx.device->hdr.name); - rctx.jcr->dcr = dcr = new_dcr(rctx.jcr, rctx.jcr->dcr, rctx.device->dev); + dcr = new_dcr(rctx.jcr, rctx.jcr->dcr, rctx.device->dev); if (!dcr) { BSOCK *dir = rctx.jcr->dir_bsock; dir->fsend(_("3926 Could not get dcr for device: %s\n"), rctx.device_name); diff --git a/bacula/technotes b/bacula/technotes index 693642b435..f76aafa251 100644 --- a/bacula/technotes +++ b/bacula/technotes @@ -2,6 +2,9 @@ General: +11Oct09 +kes Make fix for VirtualFull changing device based on suggestion by + Nicolae Mihalache 08Oct09 ebl Add listall command to autochanger interface ebl Tweak autochanger screen in bat with new commands