bareos: bareos-16.2 3d0a1a0a

Author Committer Branch Timestamp Parent Ported
pstorz joergs bareos-16.2 2017-05-04 12:43:08 bareos-16.2 fc180eed Pending
Affected Issues  0000746: Status storage slots picks wrong storage daemon
Changeset bcommand: fix problems with multiple storages

Unfortunately, the storage abstraction layer introduced
some problems with storage handling when multiple storages
are defined.

The code that connects to the sd uses the storage stored in
ua->jcr->res.wstore, but not all code sets this to the currently
requested storage.

This patch fixes this problem by taking care that the
given storage is set as ua->jcr->res.wstore

Fixes 0000746: Status storage slots picks wrong storage daemon
mod - src/dird/sd_cmds.c Diff File
mod - src/dird/ua_label.c Diff File
mod - src/dird/ua_purge.c Diff File
mod - src/dird/ua_status.c Diff File