bareos: master a9293f13

Author Committer Branch Timestamp Parent
arogge arogge master 2019-09-13 16:47 master 2acb3395 Pending
Affected Issues  0001112: After mount/unmount of tape "status slots" shows empty list
Changeset core: reset cache on invalidate vol_list->contents

Fixes 0001112: After mount/unmount of tape "status slots" shows empty list

Previously the cache timestamp on vol_list->contents was not reset when
the list has been emptied. This lead to strange behaviour with empty
vol_lists showing up.
This patch now resets timestamp to zero when clearing vol_list->contents
so the cache is always rebuilt if contents had been cleared.
mod - core/src/dird/storage.cc Diff File