From cc9dab3ead788b199656c9fa5861ee7fea98e62b Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Tue, 6 Dec 2011 13:43:56 +0000 Subject: [PATCH] --amend --- block.h | 16 ++++++++++++++++ block.tcc | 16 ++++++++++++++++ block_counter.h | 16 ++++++++++++++++ btree.h | 16 ++++++++++++++++ btree.tcc | 16 ++++++++++++++++ btree_checker.h | 16 ++++++++++++++++ cache.h | 16 ++++++++++++++++ checksum.cc | 16 ++++++++++++++++ checksum.h | 16 ++++++++++++++++ deleter.h | 16 ++++++++++++++++ emitter.h | 16 ++++++++++++++++ endian_utils.cc | 16 ++++++++++++++++ endian_utils.h | 16 ++++++++++++++++ error_set.cc | 16 ++++++++++++++++ error_set.h | 16 ++++++++++++++++ hex_dump.cc | 16 ++++++++++++++++ hex_dump.h | 16 ++++++++++++++++ human_readable_format.cc | 16 ++++++++++++++++ human_readable_format.h | 16 ++++++++++++++++ main.cc | 16 ++++++++++++++++ math_utils.h | 16 ++++++++++++++++ metadata.cc | 16 ++++++++++++++++ metadata.h | 16 ++++++++++++++++ metadata_checker.cc | 16 ++++++++++++++++ metadata_checker.h | 16 ++++++++++++++++ metadata_disk_structures.cc | 16 ++++++++++++++++ metadata_disk_structures.h | 16 ++++++++++++++++ metadata_dumper.cc | 16 ++++++++++++++++ metadata_dumper.h | 16 ++++++++++++++++ restore_emitter.cc | 16 ++++++++++++++++ restore_emitter.h | 16 ++++++++++++++++ run_list.h | 16 ++++++++++++++++ run_list.tcc | 16 ++++++++++++++++ space_map.cc | 16 ++++++++++++++++ space_map.h | 16 ++++++++++++++++ space_map_core.h | 16 ++++++++++++++++ space_map_disk.cc | 16 ++++++++++++++++ space_map_disk.h | 16 ++++++++++++++++ space_map_disk_structures.h | 16 ++++++++++++++++ space_map_recursive.cc | 16 ++++++++++++++++ space_map_recursive.h | 16 ++++++++++++++++ space_map_transactional.cc | 16 ++++++++++++++++ space_map_transactional.h | 16 ++++++++++++++++ thin_dump.cc | 16 ++++++++++++++++ thin_pool.cc | 16 ++++++++++++++++ thin_pool.h | 16 ++++++++++++++++ thin_repair.cc | 16 ++++++++++++++++ thin_restore.cc | 16 ++++++++++++++++ transaction_manager.cc | 16 ++++++++++++++++ transaction_manager.h | 16 ++++++++++++++++ unit-tests/block_t.cc | 16 ++++++++++++++++ unit-tests/btree_t.cc | 16 ++++++++++++++++ unit-tests/cache_t.cc | 16 ++++++++++++++++ unit-tests/endian_t.cc | 16 ++++++++++++++++ unit-tests/metadata_t.cc | 16 ++++++++++++++++ unit-tests/run_list_t.cc | 16 ++++++++++++++++ unit-tests/space_map_disk_t.cc | 16 ++++++++++++++++ unit-tests/space_map_t.cc | 16 ++++++++++++++++ unit-tests/transaction_manager_t.cc | 16 ++++++++++++++++ xml_format.cc | 16 ++++++++++++++++ xml_format.h | 16 ++++++++++++++++ 61 files changed, 976 insertions(+) diff --git a/block.h b/block.h index 6bdabf25..55390f1b 100644 --- a/block.h +++ b/block.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef BLOCK_H #define BLOCK_H diff --git a/block.tcc b/block.tcc index 004b5f42..f4a0c291 100644 --- a/block.tcc +++ b/block.tcc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "block.h" #include diff --git a/block_counter.h b/block_counter.h index 78b1a9d0..a0dd1a14 100644 --- a/block_counter.h +++ b/block_counter.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef BLOCK_COUNTER_H #define BLOCK_COUNTER_H diff --git a/btree.h b/btree.h index 3ef07059..5ea881e5 100644 --- a/btree.h +++ b/btree.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef BTREE_H #define BTREE_H diff --git a/btree.tcc b/btree.tcc index 7726c9e4..24f8d773 100644 --- a/btree.tcc +++ b/btree.tcc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "btree.h" #include "checksum.h" diff --git a/btree_checker.h b/btree_checker.h index 8e9b3c1e..682ce4bf 100644 --- a/btree_checker.h +++ b/btree_checker.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef BTREE_CHECKER_H #define BTREE_CHECKER_H diff --git a/cache.h b/cache.h index 0d7db5a1..e480d526 100644 --- a/cache.h +++ b/cache.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef CACHE_H #define CACHE_H diff --git a/checksum.cc b/checksum.cc index a62e615e..16cb0600 100644 --- a/checksum.cc +++ b/checksum.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "checksum.h" #include diff --git a/checksum.h b/checksum.h index 53553cbb..20cf2a2b 100644 --- a/checksum.h +++ b/checksum.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef CHECKSUM_H #define CHECKSUM_H diff --git a/deleter.h b/deleter.h index 139e8f4d..824714ea 100644 --- a/deleter.h +++ b/deleter.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef DELETER_H #define DELETER_H diff --git a/emitter.h b/emitter.h index ff136a6a..f10b10c4 100644 --- a/emitter.h +++ b/emitter.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef EMITTER_H #define EMITTER_H diff --git a/endian_utils.cc b/endian_utils.cc index 6e7b76aa..566e0c0b 100644 --- a/endian_utils.cc +++ b/endian_utils.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "endian_utils.h" using namespace base; diff --git a/endian_utils.h b/endian_utils.h index 51e2d7bd..26ef1793 100644 --- a/endian_utils.h +++ b/endian_utils.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef ENDIAN_H #define ENDIAN_H diff --git a/error_set.cc b/error_set.cc index 54d06821..4339ce2c 100644 --- a/error_set.cc +++ b/error_set.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "error_set.h" #include diff --git a/error_set.h b/error_set.h index 23b8cdc5..142c1348 100644 --- a/error_set.h +++ b/error_set.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef ERROR_SET_H #define ERROR_SET_H diff --git a/hex_dump.cc b/hex_dump.cc index 8957770c..460348bb 100644 --- a/hex_dump.cc +++ b/hex_dump.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "hex_dump.h" #include diff --git a/hex_dump.h b/hex_dump.h index 823fa9dc..b6b0377b 100644 --- a/hex_dump.h +++ b/hex_dump.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef HEX_DUMP_H #define HEX_DUMP_H diff --git a/human_readable_format.cc b/human_readable_format.cc index 6fea41f4..5a28ae84 100644 --- a/human_readable_format.cc +++ b/human_readable_format.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "human_readable_format.h" #include diff --git a/human_readable_format.h b/human_readable_format.h index 925ee427..6866e547 100644 --- a/human_readable_format.h +++ b/human_readable_format.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef HUMAN_READABLE_H #define HUMAN_READABLE_H diff --git a/main.cc b/main.cc index 7c8aaab3..02edda6a 100644 --- a/main.cc +++ b/main.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "block.h" #include "metadata.h" diff --git a/math_utils.h b/math_utils.h index e02c0b6d..6968dfb0 100644 --- a/math_utils.h +++ b/math_utils.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef THINP_MATH_H #define THINP_MATH_H diff --git a/metadata.cc b/metadata.cc index 3e5a2a94..acbda40e 100644 --- a/metadata.cc +++ b/metadata.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "metadata.h" #include "math_utils.h" diff --git a/metadata.h b/metadata.h index 91dfb1a4..37d89608 100644 --- a/metadata.h +++ b/metadata.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef METADATA_LL_H #define METADATA_LL_H diff --git a/metadata_checker.cc b/metadata_checker.cc index 892a2586..f51d6550 100644 --- a/metadata_checker.cc +++ b/metadata_checker.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "metadata_checker.h" using namespace thin_provisioning; diff --git a/metadata_checker.h b/metadata_checker.h index 263e888a..e70a42fb 100644 --- a/metadata_checker.h +++ b/metadata_checker.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef METADATA_CHECKER_H #define METADATA_CHECKER_H diff --git a/metadata_disk_structures.cc b/metadata_disk_structures.cc index ce14290b..baeee264 100644 --- a/metadata_disk_structures.cc +++ b/metadata_disk_structures.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "metadata_disk_structures.h" #include diff --git a/metadata_disk_structures.h b/metadata_disk_structures.h index 708d79b8..5869e00e 100644 --- a/metadata_disk_structures.h +++ b/metadata_disk_structures.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef METADATA_DISK_STRUCTURES_H #define METADATA_DISK_STRUCTURES_H diff --git a/metadata_dumper.cc b/metadata_dumper.cc index d6598cca..79de4e9c 100644 --- a/metadata_dumper.cc +++ b/metadata_dumper.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "metadata_dumper.h" using namespace persistent_data; diff --git a/metadata_dumper.h b/metadata_dumper.h index b795b9be..d0aac2f5 100644 --- a/metadata_dumper.h +++ b/metadata_dumper.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef METADATA_DUMPER_H #define METADATA_DUMPER_H diff --git a/restore_emitter.cc b/restore_emitter.cc index b14216f5..62475887 100644 --- a/restore_emitter.cc +++ b/restore_emitter.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "restore_emitter.h" using namespace boost; diff --git a/restore_emitter.h b/restore_emitter.h index 749c75f3..c76924dd 100644 --- a/restore_emitter.h +++ b/restore_emitter.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef RESTORE_EMITTER_H #define RESTORE_EMITTER_H diff --git a/run_list.h b/run_list.h index 3e0055f9..39a7e76d 100644 --- a/run_list.h +++ b/run_list.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef RUN_LIST_H #define RUN_LIST_H diff --git a/run_list.tcc b/run_list.tcc index 2809824e..a0fbc132 100644 --- a/run_list.tcc +++ b/run_list.tcc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include // FIXME: remove #include diff --git a/space_map.cc b/space_map.cc index 3e3d98e3..f9dea308 100644 --- a/space_map.cc +++ b/space_map.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "space_map.h" using namespace persistent_data; diff --git a/space_map.h b/space_map.h index a0a5549b..606e54ec 100644 --- a/space_map.h +++ b/space_map.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef SPACE_MAP_H #define SPACE_MAP_H diff --git a/space_map_core.h b/space_map_core.h index bba54642..15548d7b 100644 --- a/space_map_core.h +++ b/space_map_core.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef CORE_MAP_H #define CORE_MAP_H diff --git a/space_map_disk.cc b/space_map_disk.cc index a8090a7e..7f044ba5 100644 --- a/space_map_disk.cc +++ b/space_map_disk.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "space_map_disk.h" #include "checksum.h" diff --git a/space_map_disk.h b/space_map_disk.h index 6ca66a47..f2ede34b 100644 --- a/space_map_disk.h +++ b/space_map_disk.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef SPACE_MAP_DISK_H #define SPACE_MAP_DISK_H diff --git a/space_map_disk_structures.h b/space_map_disk_structures.h index 98967837..13b5daa8 100644 --- a/space_map_disk_structures.h +++ b/space_map_disk_structures.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef SPACE_MAP_DISK_STRUCTURES_H #define SPACE_MAP_DISK_STRUCTURES_H diff --git a/space_map_recursive.cc b/space_map_recursive.cc index 7973a423..3597d9a9 100644 --- a/space_map_recursive.cc +++ b/space_map_recursive.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "space_map_recursive.h" using namespace persistent_data; diff --git a/space_map_recursive.h b/space_map_recursive.h index 76df1897..ec2e16e3 100644 --- a/space_map_recursive.h +++ b/space_map_recursive.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef SPACE_MAP_RECURSIVE_H #define SPACE_MAP_RECURSIVE_H diff --git a/space_map_transactional.cc b/space_map_transactional.cc index cdf5a4f2..0746d944 100644 --- a/space_map_transactional.cc +++ b/space_map_transactional.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "space_map_transactional.h" //---------------------------------------------------------------- diff --git a/space_map_transactional.h b/space_map_transactional.h index 4cd502ba..5cd8a5d2 100644 --- a/space_map_transactional.h +++ b/space_map_transactional.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef SPACE_MAP_TRANSACTIONAL_H #define SPACE_MAP_TRANSACTIONAL_H diff --git a/thin_dump.cc b/thin_dump.cc index d9373e01..3f34a92e 100644 --- a/thin_dump.cc +++ b/thin_dump.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include #include "human_readable_format.h" diff --git a/thin_pool.cc b/thin_pool.cc index d68d797c..c05da24d 100644 --- a/thin_pool.cc +++ b/thin_pool.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "thin_pool.h" #include "btree_checker.h" diff --git a/thin_pool.h b/thin_pool.h index 50530a79..71ea26fd 100644 --- a/thin_pool.h +++ b/thin_pool.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef MULTISNAP_METADATA_H #define MULTISNAP_METADATA_H diff --git a/thin_repair.cc b/thin_repair.cc index 6e99b83b..1bf33f88 100644 --- a/thin_repair.cc +++ b/thin_repair.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include #include "metadata.h" diff --git a/thin_restore.cc b/thin_restore.cc index 521fde34..3791eccc 100644 --- a/thin_restore.cc +++ b/thin_restore.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "emitter.h" #include "human_readable_format.h" #include "metadata.h" diff --git a/transaction_manager.cc b/transaction_manager.cc index b93232cb..7b257f16 100644 --- a/transaction_manager.cc +++ b/transaction_manager.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "transaction_manager.h" #include diff --git a/transaction_manager.h b/transaction_manager.h index b73f2030..ab7d5fcb 100644 --- a/transaction_manager.h +++ b/transaction_manager.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef TRANSACTION_MANAGER_H #define TRANSACTION_MANAGER_H diff --git a/unit-tests/block_t.cc b/unit-tests/block_t.cc index 97ced05b..d13293d0 100644 --- a/unit-tests/block_t.cc +++ b/unit-tests/block_t.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "block.h" #define BOOST_TEST_MODULE BlockManagerTests diff --git a/unit-tests/btree_t.cc b/unit-tests/btree_t.cc index d0cdba58..da03843e 100644 --- a/unit-tests/btree_t.cc +++ b/unit-tests/btree_t.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "transaction_manager.h" #include "space_map_core.h" #include "btree.h" diff --git a/unit-tests/cache_t.cc b/unit-tests/cache_t.cc index c96cbc4b..f7286808 100644 --- a/unit-tests/cache_t.cc +++ b/unit-tests/cache_t.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "cache.h" #define BOOST_TEST_MODULE CacheTests diff --git a/unit-tests/endian_t.cc b/unit-tests/endian_t.cc index 13c04d95..825c368b 100644 --- a/unit-tests/endian_t.cc +++ b/unit-tests/endian_t.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "space_map_disk.h" #include "core_map.h" diff --git a/unit-tests/metadata_t.cc b/unit-tests/metadata_t.cc index 7882194a..ce2eb513 100644 --- a/unit-tests/metadata_t.cc +++ b/unit-tests/metadata_t.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "metadata.h" #include "core_map.h" diff --git a/unit-tests/run_list_t.cc b/unit-tests/run_list_t.cc index d9497dee..92263d6e 100644 --- a/unit-tests/run_list_t.cc +++ b/unit-tests/run_list_t.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "run_list.h" #define BOOST_TEST_MODULE RunListTests diff --git a/unit-tests/space_map_disk_t.cc b/unit-tests/space_map_disk_t.cc index f333bac1..f8576fa1 100644 --- a/unit-tests/space_map_disk_t.cc +++ b/unit-tests/space_map_disk_t.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "space_map_disk.h" #include "space_map_core.h" diff --git a/unit-tests/space_map_t.cc b/unit-tests/space_map_t.cc index 56d9c483..97d8ab75 100644 --- a/unit-tests/space_map_t.cc +++ b/unit-tests/space_map_t.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "space_map.h" #include "core_map.h" diff --git a/unit-tests/transaction_manager_t.cc b/unit-tests/transaction_manager_t.cc index 4a80cfae..6fe85a0c 100644 --- a/unit-tests/transaction_manager_t.cc +++ b/unit-tests/transaction_manager_t.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "transaction_manager.h" #include "core_map.h" diff --git a/xml_format.cc b/xml_format.cc index 22e165e8..772fea73 100644 --- a/xml_format.cc +++ b/xml_format.cc @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #include "xml_format.h" #include diff --git a/xml_format.h b/xml_format.h index 9c6d28d4..f4175ad0 100644 --- a/xml_format.h +++ b/xml_format.h @@ -1,3 +1,19 @@ +// This file is part of the thin-provisioning-tools source. +// +// thin-provisioning-tools is free software: you can redistribute it +// and/or modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// thin-provisioning-tools is distributed in the hope that it will be +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty +// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with thin-provisioning-tools. If not, see +// . + #ifndef XML_FORMAT_H #define XML_FORMAT_H