From: Eric Bollengier Date: Thu, 4 Dec 2008 12:45:05 +0000 (+0000) Subject: ebl Fix bacula-sd hanging after tape gets full + unload X-Git-Tag: Release-7.0.0~3674 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=41fe16b3d4607a5a7218bb2cab4f7d31a5bad489;p=bacula%2Fbacula ebl Fix bacula-sd hanging after tape gets full + unload git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8117 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/stored/vol_mgr.c b/bacula/src/stored/vol_mgr.c index 83dea3f133..95d906ad9f 100644 --- a/bacula/src/stored/vol_mgr.c +++ b/bacula/src/stored/vol_mgr.c @@ -681,9 +681,7 @@ bool DCR::can_i_write_volume() { VOLRES *vol; - lock_read_volumes(); vol = find_read_volume(VolumeName); - unlock_read_volumes(); if (vol) { Dmsg1(100, "Found in read list; cannot write vol=%s\n", VolumeName); return false; diff --git a/bacula/technotes-2.5 b/bacula/technotes-2.5 index 3ec504c808..ec31d8b5f3 100644 --- a/bacula/technotes-2.5 +++ b/bacula/technotes-2.5 @@ -10,6 +10,8 @@ filepattern (restore with regex in bsr) mixed priorities General: +03Dec08 +ebl Fix bacula-sd hanging after tape gets full + unload 02Dec08 ebl Remove extra db_lock() in get_prune_list_for_volume() ebl Apply 2.4.3-prune-deadlock.patch that fixes a problem when