From 55fee8528a4c49e5bea804a97d324192bbb5383a Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 16 May 2008 13:42:14 +0000 Subject: [PATCH] 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 --- bacula/patches/testing/bug1088.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 bacula/patches/testing/bug1088.patch 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)) { -- 2.39.5