Skip to content

Commit

Permalink
Add fixes
Browse files Browse the repository at this point in the history
- apply copyright update and fix trailing newlines
- restore clang-formating error
- restore comments and block formating

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
  • Loading branch information
bruno-at-bareos authored and pstorz committed Aug 18, 2022
1 parent da8aace commit 76f0a6e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/cmake/BareosGenerateDebianInfo.cmake
@@ -1,6 +1,6 @@
# BAREOS® - Backup Archiving REcovery Open Sourced
#
# Copyright (C) 2018-2021 Bareos GmbH & Co. KG
# Copyright (C) 2018-2022 Bareos GmbH & Co. KG
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of version three of the GNU Affero General Public
Expand Down
2 changes: 1 addition & 1 deletion core/cmake/BareosInstallConfigFiles.cmake
@@ -1,6 +1,6 @@
# BAREOS® - Backup Archiving REcovery Open Sourced
#
# Copyright (C) 2017-2020 Bareos GmbH & Co. KG
# Copyright (C) 2017-2022 Bareos GmbH & Co. KG
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of version three of the GNU Affero General Public
Expand Down
4 changes: 3 additions & 1 deletion core/src/stored/stored_conf.cc
Expand Up @@ -776,7 +776,9 @@ static bool SaveResource(int type, ResourceItem* items, int pass)
p->device_resources = res_changer->device_resources;

DeviceResource* q = nullptr;
foreach_alist (q, p->device_resources) { q->changer_res = p; }
foreach_alist (q, p->device_resources) {
q->changer_res = p;
}

int errstat;
if ((errstat = RwlInit(&p->changer_lock, PRIO_SD_ACH_ACCESS)) != 0) {
Expand Down
1 change: 0 additions & 1 deletion docs/manuals/source/TasksAndConcepts/StorageBackends.rst
Expand Up @@ -338,4 +338,3 @@ configure it as storage device:
Adapt server and volume name to your environment.

:sinceVersion:`15.2.0: GlusterFS Storage`

0 comments on commit 76f0a6e

Please sign in to comment.