]> 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)
committerKern Sibbald <kern@sibbald.com>
Sat, 19 Jun 2010 09:32:02 +0000 (11:32 +0200)
bacula/src/stored/mount.c

index 1a2c38cfc84311deeb44776a0fc84da13ff0467d..85a8b7a6cbb66e279f7e1933874fe1cb2db1caf3 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)) {