]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix changing read device during VirtualFull in SD
authorKern Sibbald <kern@sibbald.com>
Sun, 11 Oct 2009 16:14:53 +0000 (18:14 +0200)
committerKern Sibbald <kern@sibbald.com>
Sun, 11 Oct 2009 16:14:53 +0000 (18:14 +0200)
bacula/src/stored/reserve.c
bacula/technotes

index c2377d8f0d6a7606690c53e5c70f5c88319c7728..a4fe70cf91a285afe8e0da3c47e835a9dfaa6d58 100644 (file)
@@ -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);
index 98c3fbea01af73ab8dabcd9e571ba415143d3ac1..e9c7a327b9a0f39f7c3c3314eddeeaf49cec5b79 100644 (file)
@@ -3,6 +3,10 @@
 General:
 
 Release Version 3.0.3:
+=======
+11Oct09
+kes  Make fix for VirtualFull changing device based on suggestion by
+     Nicolae Mihalache <mache@abcpages.com>
 05Oct09
 kes  Fix concurrent Job recycle bug #1288
 kes  Backport part of one possible fix from bug #1346