From: Eric Bollengier Date: Fri, 16 May 2008 13:42:14 +0000 (+0000) Subject: ebl Try to fix #1088 (have to be tested) X-Git-Tag: Release-3.0.0~1426 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7ecb94f78bed378349e0467142da642a23d025ee;p=bacula%2Fbacula ebl Try to fix #1088 (have to be tested) git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6979 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/patches/testing/bug1088.patch b/bacula/patches/testing/bug1088.patch new file mode 100644 index 0000000000..37a636552f --- /dev/null +++ b/bacula/patches/testing/bug1088.patch @@ -0,0 +1,15 @@ +Index: src/stored/mount.c +=================================================================== +--- src/stored/mount.c (revision 6978) ++++ src/stored/mount.c (working copy) +@@ -290,7 +290,9 @@ + if (!is_eod_valid()) { + goto mount_next_vol; + } +- ++ if (!dev->VolCatInfo.VolFirstWritten) { ++ dev->VolCatInfo.VolFirstWritten = time(NULL); ++ } + dev->VolCatInfo.VolCatMounts++; /* Update mounts */ + Dmsg1(150, "update volinfo mounts=%d\n", dev->VolCatInfo.VolCatMounts); + if (!dir_update_volume_info(dcr, false, false)) {