Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: reset cache on invalidate vol_list->contents
Fixes #1112: 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. (cherry picked from commit c8dff08c03ed07d51bb5cda6deaed68878d20997)
- Loading branch information