bareos: master c73b1a11

Author Committer Branch Timestamp Parent
arogge arogge master 2023-01-16 18:55 master 29c0d2da Pending
Changeset stored: fix broken volume swapping

Fix a problem introduced in Bareos 22 with commit
6c265ec52 replace volatile device pointers with actual variable

Due to an oversight in a refactoring, a swap would no longer move the
volume to another device, but switch over to use the device that had the
desired volume loaded.
As that device was not reserved, but was unreserved during acquire, the
storage daemon would eventually crash in this case.
mod - core/src/stored/vol_mgr.cc Diff File