]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix crash from rw_lock/unlock miss match
authorKern Sibbald <kern@sibbald.com>
Sat, 19 Jun 2010 06:23:35 +0000 (08:23 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:54 +0000 (16:53 +0200)
bacula/src/stored/mount.c

index 1c9f884bcec4c1a662b8b7a1f5afd8e08435630a..ed6839fc288139ae66e8e315fe2047f84b579906 100644 (file)
@@ -116,7 +116,7 @@ mount_next_vol:
 
 //   lock_volumes();
    if (!find_a_volume()) {
-      goto no_lock_bail_out;
+      goto bail_out;
    }
 
    if (job_canceled(jcr)) {