]> git.ipfire.org Git - thirdparty/bacula.git/commit
dedup: Fix #7033 device not initialized when using legacy config format
authorAlain Spineux <alain@baculasystems.com>
Tue, 24 Nov 2020 13:11:40 +0000 (14:11 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:02:59 +0000 (09:02 +0100)
commit823f83a6ea18a4afd6f2511795d052f70f223425
tree714df777dcddc9cfbb4b01d686ccd81888b59ccf
parentf407f252afd19b3f745484a49381f130f072c22d
dedup: Fix #7033 device not initialized when using legacy config format

- the default dedupengine had no driver_type and was not initialized as
  a Legacy or Dedup2 dedupengine
- When no Dedupengine is specified in a Device resource and if there is
  only one dedupengine specified in the Storage resource or in a
  Dedupengine resource then use this one. Else return an error.
bacula/src/stored/stored_conf.c