]> git.ipfire.org Git - thirdparty/bacula.git/commit
fix Cannot free Volume XXX, because it is reserved by someone else
authorAlain Spineux <alain@baculasystems.com>
Fri, 6 Jan 2023 12:36:04 +0000 (13:36 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:00 +0000 (13:57 +0200)
commitf493e82b7427dbddf879230d8fb1dcb0cf685295
tree7bdcc5a7f1ad7c2613646a217a31b948f822bbd0
parentabbcaefd4c421f2437c5f7172120bebd0ad81216
fix Cannot free Volume XXX, because it is reserved by someone else

- when something goes wrong, sometime, the volume_unused() is not called
  and the volume stay stuck
- always call volume_unused() in the "check_bail_out:"
- load_encryption_key() can return a new error: VOL_ENC_ERROR
  that will trigger the call to volume_unused()
bacula/src/stored/dev.h
bacula/src/stored/label.c
bacula/src/stored/mount.c
bacula/src/stored/record.h