From: Eric Bollengier Date: Fri, 30 Nov 2018 07:48:28 +0000 (+0100) Subject: Fix MaxVolumeBytes accounting after a mount request X-Git-Tag: Release-9.4.3~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5e3b5ad9f1b8d4a52c15017eabebfacc2dc193c;p=thirdparty%2Fbacula.git Fix MaxVolumeBytes accounting after a mount request --- diff --git a/bacula/src/stored/askdir.c b/bacula/src/stored/askdir.c index 6d66dc473..5f2505cf3 100644 --- a/bacula/src/stored/askdir.c +++ b/bacula/src/stored/askdir.c @@ -544,6 +544,7 @@ bool dir_update_volume_info(DCR *dcr, bool label, bool update_LastWritten, dev->VolCatInfo.VolCatWrites = dcr->VolCatInfo.VolCatWrites; dev->VolCatInfo.VolCatReads = dcr->VolCatInfo.VolCatReads; dev->VolCatInfo.VolEnabled = dcr->VolCatInfo.VolEnabled; + dev->VolCatInfo.VolCatMaxBytes = dcr->VolCatInfo.VolCatMaxBytes; dev->VolCatInfo.VolRecycle = dcr->VolCatInfo.VolRecycle; } ok = true;