forked from Lainports/freebsd-ports
- The 3.x line of bacula does not work with 2.x so these ports exist for those who can not upgrade to 3.x. Besides security/infrastructure fixes this port is not likely to see any functional upgrades. - The bacula-*-devel ports will be updated to a 3.1 release when it is available. PR: ports/135580 Submitted by: Vaclav Haisman <v.haisman@sh.cvut.cz> Approved by: dvl (old maintainer) Thanks to: miwi for build-testing
28 lines
796 B
C
28 lines
796 B
C
Index: src/stored/reserve.c
|
|
===================================================================
|
|
--- src/stored/reserve.c (revision 8426)
|
|
+++ src/stored/reserve.c (working copy)
|
|
@@ -1,7 +1,7 @@
|
|
/*
|
|
Bacula® - The Network Backup Solution
|
|
|
|
- Copyright (C) 2000-2008 Free Software Foundation Europe e.V.
|
|
+ Copyright (C) 2000-2009 Free Software Foundation Europe e.V.
|
|
|
|
The main author of Bacula is Kern Sibbald, with contributions from
|
|
many others, a complete list can be found in the file AUTHORS.
|
|
@@ -498,7 +498,6 @@
|
|
void DCR::unreserve_device()
|
|
{
|
|
lock_volumes();
|
|
- dev->dlock();
|
|
if (is_reserved()) {
|
|
clear_reserved();
|
|
reserved_volume = false;
|
|
@@ -514,7 +513,6 @@
|
|
volume_unused(this);
|
|
}
|
|
}
|
|
- dev->dunlock();
|
|
unlock_volumes();
|
|
}
|