]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Apply 2.4.3-prune-deadlock.patch that fixes a problem when
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 2 Dec 2008 17:40:15 +0000 (17:40 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 2 Dec 2008 17:40:15 +0000 (17:40 +0000)
     using Catalog as message backend.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8102 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/lib/jcr.c
bacula/technotes-2.5

index 05a94d21284fe261854c64caf3488395caac5405..e1209b298386eaaf1b90fcb2871ea6bfddad025d 100644 (file)
@@ -499,7 +499,6 @@ void free_jcr(JCR *jcr)
 
 #endif
 
-   dequeue_messages(jcr);
    lock_jcr_chain();
    jcr->dec_use_count();              /* decrement use count */
    if (jcr->use_count() < 0) {
@@ -520,6 +519,7 @@ void free_jcr(JCR *jcr)
    }
    remove_jcr(jcr);                   /* remove Jcr from chain */
 
+   dequeue_messages(jcr);
    job_end_pop(jcr);                  /* pop and call hooked routines */
 
    Dmsg1(dbglvl, "End job=%d\n", jcr->JobId);
index 9b4c7ee4e6ff080e5d08f964995d611c962bde41..dd68d2b2349868e2f7e42a0f685b7d27f64de45b 100644 (file)
@@ -10,6 +10,9 @@ filepattern (restore with regex in bsr)
 mixed priorities
 
 General:
+02Dec08
+ebl  Apply 2.4.3-prune-deadlock.patch that fixes a problem when
+     using Catalog as message backend.
 01Dec08
 kes  Apply Marco's Darwin xattr patches.
 28Nov08