]> git.sur5r.net Git - bacula/bacula/commitdiff
Make new_volume walk through all Vols looking for dev
authorKern Sibbald <kern@sibbald.com>
Sat, 17 Sep 2005 16:40:15 +0000 (16:40 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 17 Sep 2005 16:40:15 +0000 (16:40 +0000)
  to release.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2394 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/kernstodo
bacula/kes-1.37
bacula/src/stored/reserve.c
bacula/src/version.h

index 3a6e5e086c2106cb0d09bf5b9ee2a01d5553c79f..f922f9a6df2b3a3b4dbc1f214f93f0ec609ba5f5 100644 (file)
@@ -10,6 +10,7 @@ Version 1.37                Kern (see below)
 Final items for 1.37 before release:
 1. Fix bugs
 - Look at fixing restore status stats in SD.
+- Mount after manually unloading changer causes hang in SD
 - Check if ANSI tape labeling works with drive in
   read-only mode.
    > > btape: label.c:299 write_volume_label()
index aac31e0391c74c99000da31adfbb52248b57c0ac..2099158693c4afa6dcce4b040a2b0aa34dbd6830 100644 (file)
@@ -4,6 +4,9 @@
 General:
 
 Changes to 1.37.39:
+17Sep05
+- Make new_volume walk through all Vols looking for dev 
+  to release.
 16Sep05
 - Make "quit" command in console always allowed.
 - Remove the storage list between each console command to
index d3b1940d71f63c3e51c0a633394d9c07117ce874..acb1f176b31f10d95eb44e2593fae2ff7d2e2e2e 100644 (file)
@@ -118,6 +118,7 @@ VOLRES *new_volume(DCR *dcr, const char *VolumeName)
    Dmsg1(400, "new_volume %s\n", VolumeName);
    P(vol_list_lock);
    if (dcr->dev) {
+again:
       foreach_dlist(vol, vol_list) {
          if (vol && vol->dev == dcr->dev) {
             vol_list->remove(vol);
@@ -125,7 +126,7 @@ VOLRES *new_volume(DCR *dcr, const char *VolumeName)
                free(vol->vol_name);
             }
             free(vol);
-            break;
+            goto again;
          }
       }
    }
index 1c35c38b197e64870396cc684de2fc9d6a668845..d74c8b23f543f1207dc8229ba75c58d0e8c721c4 100644 (file)
@@ -4,8 +4,8 @@
 
 #undef  VERSION
 #define VERSION "1.37.39"
-#define BDATE   "16 September 2005"
-#define LSMDATE "16Sep05"
+#define BDATE   "17 September 2005"
+#define LSMDATE "17Sep05"
 
 /* Debug flags */
 #undef  DEBUG