]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/mac.c
Merge branch 'master' into basejobv3
[bacula/bacula] / bacula / src / stored / mac.c
index b7768a811f8cea93735a08a25cb9d796622c2873..ce2c3707976f378984b7dd076b3a0e790fd4c430 100644 (file)
@@ -84,8 +84,6 @@ bool do_mac(JCR *jcr)
    }
    Dmsg2(100, "read_dcr=%p write_dcr=%p\n", jcr->read_dcr, jcr->dcr);
 
-
-   create_restore_volume_list(jcr);
    if (jcr->NumReadVolumes == 0) {
       Jmsg(jcr, M_FATAL, 0, _("No Volume names found for %s.\n"), Type);
       goto bail_out;
@@ -161,11 +159,8 @@ ok_out:
       }
    }
 
-   free_restore_volume_list(jcr);
-
    dir_send_job_status(jcr);          /* update director */
 
-
    Dmsg0(30, "Done reading.\n");
    jcr->end_time = time(NULL);
    dequeue_messages(jcr);             /* send any queued messages */