]> git.sur5r.net Git - bacula/bacula/commitdiff
Remove released test
authorKern Sibbald <kern@sibbald.com>
Sun, 6 Jan 2008 02:30:57 +0000 (02:30 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 6 Jan 2008 02:30:57 +0000 (02:30 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6242 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/reserve.c

index 59084d4bc314fbe1515c460399d8d5da341a6f32..0c15236e13d2055efaf7e8ab291f994f1476b0de 100644 (file)
@@ -337,10 +337,12 @@ VOLRES *reserve_volume(DCR *dcr, const char *VolumeName)
          goto get_out;                  /* Volume already on this device */
       } else {
          /* Don't release a volume if it is in use */
+#ifdef xxx
          if (!vol->released) {
             vol = NULL;                  /* vol in use */
             goto get_out;
          }
+#endif
          Dmsg2(dbglvl, "reserve_vol free vol=%s at %p\n", vol->vol_name, vol->vol_name);
          unload_autochanger(dcr, -1);   /* unload the volume */
          free_volume(dev);