]> 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)
committerMarco van Wieringen <mvw@planets.elm.net>
Fri, 26 Mar 2010 21:02:58 +0000 (22:02 +0100)
bacula/src/cats/bvfs.c

index b0951e2aa6afb93a51ac3bd64873c42a507ce84c..56a485a23fb9e491e0581f1c1d326c8fe99e5230 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);
 }
 
 /*