From: Kern Sibbald Date: Sun, 11 Oct 2009 16:14:53 +0000 (+0200) Subject: Fix changing read device during VirtualFull in SD X-Git-Tag: Release-3.0.3~32 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0243be6063d733c5110f0b0f5376703f5773d482;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 c2377d8f0d..a4fe70cf91 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 98c3fbea01..e9c7a327b9 100644 --- a/bacula/technotes +++ b/bacula/technotes @@ -3,6 +3,10 @@ General: Release Version 3.0.3: +======= +11Oct09 +kes Make fix for VirtualFull changing device based on suggestion by + Nicolae Mihalache 05Oct09 kes Fix concurrent Job recycle bug #1288 kes Backport part of one possible fix from bug #1346