aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bacula-server/files/patch-src-stored-reserve.c
blob: 589404f8427d22ea095f8a86fa4b000f167cd2e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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();
 }