From 13a2232647a236f4e806adaf6b4876f50f787183 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 4 Dec 2008 12:45:05 +0000 Subject: [PATCH] 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 --- bacula/src/stored/vol_mgr.c | 2 -- bacula/technotes-2.5 | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5