]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/lock.h
Make dup jobs regress test work
[bacula/bacula] / bacula / src / stored / lock.h
index c49a24292bca16b3c43b53fa8181c2bd3d724852..10b6ac1a0dad6628d6c4ee6a9bb33de84bb03dca 100644 (file)
@@ -20,7 +20,7 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   Bacula® is a registered trademark of John Walker.
+   Bacula® is a registered trademark of Kern Sibbald.
    The licensor of Bacula is the Free Software Foundation Europe
    (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
    Switzerland, email:ftf@fsfeurope.org.
@@ -59,7 +59,8 @@ enum {
    BST_WRITING_LABEL,                 /* Labeling a tape */
    BST_UNMOUNTED_WAITING_FOR_SYSOP,   /* User unmounted during wait for op */
    BST_MOUNT,                         /* Mount request */
-   BST_DESPOOLING                     /* Despooling -- i.e. multiple writes */
+   BST_DESPOOLING,                    /* Despooling -- i.e. multiple writes */
+   BST_RELEASING                      /* Releasing the device */
 };
 
 typedef struct s_steal_lock {
@@ -72,8 +73,8 @@ typedef struct s_steal_lock {
  * Used in unblock() call
  */
 enum {
-   dev_locked = true,
-   dev_unlocked = false
+   DEV_LOCKED = true,
+   DEV_UNLOCKED = false
 };
 
 #endif