summaryrefslogtreecommitdiff
path: root/backup/amanda/files/amanda-3.3.9-stuck.patch
diff options
context:
space:
mode:
Diffstat (limited to 'backup/amanda/files/amanda-3.3.9-stuck.patch')
-rw-r--r--backup/amanda/files/amanda-3.3.9-stuck.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/backup/amanda/files/amanda-3.3.9-stuck.patch b/backup/amanda/files/amanda-3.3.9-stuck.patch
new file mode 100644
index 000000000000..88892e41be3b
--- /dev/null
+++ b/backup/amanda/files/amanda-3.3.9-stuck.patch
@@ -0,0 +1,11 @@
+--- a/amanda/server-src/driver.c
++++ b/amanda/server-src/driver.c
+@@ -3957,6 +3957,8 @@
+ driver_debug(2, _("new_data: %lld\n"), (long long)new_data);
+ driver_debug(2, _("data_free: %lld\n"), (long long)data_free);
+ ;
++ tapeq_size -= data_free;
++ tapeq_size += new_data;
+ driver_debug(2, _("tapeq_size: %lld\n"), (long long)tapeq_size);
+
+ sched_size = runq_size + tapeq_size + dumpers_size; \ No newline at end of file