git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.4@8107
91ce42f0-d328-0410-95d8-
f526ca767f89
/* Detach this dcr only if attached */
if (dcr->attached_to_dev && dev) {
- dev->dlock();
dcr->unreserve_device();
+ dev->dlock();
dcr->dev->attached_dcrs->remove(dcr); /* detach dcr from device */
dcr->attached_to_dev = false;
// remove_dcr_from_dcrs(dcr); /* remove dcr from jcr list */
void DCR::unreserve_device()
{
lock_volumes();
+ dev->dlock();
if (is_reserved()) {
clear_reserved();
reserved_volume = false;
volume_unused(this);
}
}
+ dev->dunlock();
unlock_volumes();
}
#undef VERSION
#define VERSION "2.4.4"
-#define BDATE "07 November 2008"
-#define LSMDATE "07Nov08"
+#define BDATE "03 December 2008"
+#define LSMDATE "03Dec08"
#define PROG_COPYRIGHT "Copyright (C) %d-2008 Free Software Foundation Europe e.V.\n"
#define BYEAR "2008" /* year for copyright messages in progs */
Technical notes on version 2.4
General:
+03Dec08
+kes Apply 2.4.3-sd-deadlock.patch that should fix bug #1192.
02Dec08
ebl Remove extra db_lock() in get_prune_list_for_volume()
ebl Apply 2.4.3-prune-deadlock.patch that fixes a problem when