if (dev->swap_dev) {
if (dev->swap_dev->must_unload()) {
if (dev->vol) {
- dev->Slot = dev->vol->get_slot();
+ dev->swap_dev->Slot = dev->vol->get_slot();
}
- Dmsg2(100, "Swap unloading slot=%d %s\n", dev->Slot,
+ Dmsg2(100, "Swap unloading slot=%d %s\n", dev->swap_dev->Slot,
dev->swap_dev->print_name());
unload_dev(this, dev->swap_dev);
dev->Slot = -1;
*/
#undef VERSION
-#define VERSION "2.3.20"
-#define BDATE "10 May 2008"
-#define LSMDATE "10May08"
+#define VERSION "2.3.21"
+#define BDATE "11 May 2008"
+#define LSMDATE "11May08"
#define PROG_COPYRIGHT "Copyright (C) %d-2008 Free Software Foundation Europe e.V.\n"
#define BYEAR "2008" /* year for copyright messages in progs */
General:
+11May08
+kes Make sure we unload the right slot when swapping.
10May08
kes Add debug times, reduce size of two-pool-changer test
08May08