From 0243be6063d733c5110f0b0f5376703f5773d482 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 11 Oct 2009 18:14:53 +0200 Subject: [PATCH] Fix changing read device during VirtualFull in SD --- bacula/src/stored/reserve.c | 2 +- bacula/technotes | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5