]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/mount.c
Use rentrant mysql lib, eliminate race in sql_list, Win32 streams, misc see kes-1.31
[bacula/bacula] / bacula / src / stored / mount.c
index e06e3cb1f6eea00606355a1e509bc6b20358bf12..5c601d3f3c1d9d00246b965e4d7a9cd2428d291e 100644 (file)
@@ -244,12 +244,7 @@ mount_error:
         /* Send error message */
          Jmsg1(jcr, M_WARNING, 0, "%s", jcr->errmsg);                         
         if (autochanger) {
-            Jmsg(jcr, M_ERROR, 0, _("Autochanger Volume \"%s\" not found in slot %d.\n\
-    Setting slot to zero in catalog.\n"),
-              jcr->VolCatInfo.VolCatName, jcr->VolCatInfo.Slot);
-           jcr->VolCatInfo.Slot = 0; /* invalidate slot */
-            Dmsg0(200, "update vol info in mount\n");
-           dir_update_volume_info(jcr, &jcr->VolCatInfo, 1);  /* set slot */
+           invalidate_slot_in_catalog(jcr);
         }
          Dmsg0(100, "Default\n");
         goto mount_next_vol;