From 2e6abbc598a6e885280c8f59acc4c6f0ac95dbe3 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 19 Jun 2010 08:23:35 +0200 Subject: [PATCH] Fix crash from rw_lock/unlock miss match --- bacula/src/stored/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/stored/mount.c b/bacula/src/stored/mount.c index 1a2c38cfc8..85a8b7a6cb 100644 --- a/bacula/src/stored/mount.c +++ b/bacula/src/stored/mount.c @@ -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)) { -- 2.39.5