]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix MaxVolumeBytes accounting after a mount request
authorEric Bollengier <eric@baculasystems.com>
Fri, 30 Nov 2018 07:48:28 +0000 (08:48 +0100)
committerKern Sibbald <kern@sibbald.com>
Mon, 8 Apr 2019 16:41:47 +0000 (18:41 +0200)
bacula/src/stored/askdir.c

index 6d66dc4739a8fce97f1e0e4019401bd0b4536d20..5f2505cf384b23383424378be5743d257a48a442 100644 (file)
@@ -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;