bareos: bareos-16.2 ec32843f

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen bareos-16.2 2017-06-28 19:41 bareos-16.2 a5aa2618 Pending
Changeset cephfs: Don't reinitialize the connection to CEPH.

The plugin event bEventRestoreCommand is fired for each file we are
supposed to restore, currently we don't check if we already have setup
the connection to CEPH using the function connect_to_cephfs() and as
such we leak a set of socket connections for each file restored. This is
bad so lets properly check if things are already setup correctly.

For a backup we do the same e.g. check if p_ctx->cmount is not already
initialized.
mod - src/plugins/filed/cephfs-fd.c Diff File