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