]> git.sur5r.net Git - bacula/bacula/commitdiff
Add missing db_unlock to bvfs_update_cache.
authorMarco van Wieringen <mvw@planets.elm.net>
Fri, 26 Mar 2010 21:01:58 +0000 (22:01 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:41 +0000 (16:49 +0200)
bacula/src/cats/bvfs.c

index 20a4578270271f9055c71e931ee11cdc81069fdc..ef3fad5c4d65bc3398342457b85764d495d55391 100644 (file)
@@ -437,6 +437,7 @@ void bvfs_update_cache(JCR *jcr, B_DB *mdb)
    Dmsg1(dbglevel, "Affected row(s) = %d\n", nb);
 
    db_end_transaction(jcr, mdb);
+   db_unlock(mdb);
 }
 
 /*