diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-10 13:11:55 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-10 14:25:45 -0600 |
commit | 78a6a912cff60f03dea4b285a439056089f7c102 (patch) | |
tree | 8e08a1bc532d5fe06d3336763795219c36e9a20d /lib/btrfs/btrfsitem | |
parent | 27401b6ea459921a6152ab1744da1618358465f4 (diff) |
Add license and copyright info
Diffstat (limited to 'lib/btrfs/btrfsitem')
25 files changed, 91 insertions, 29 deletions
diff --git a/lib/btrfs/btrfsitem/.gitignore b/lib/btrfs/btrfsitem/.gitignore new file mode 100644 index 0000000..12fd2af --- /dev/null +++ b/lib/btrfs/btrfsitem/.gitignore @@ -0,0 +1 @@ +/items.txt diff --git a/lib/btrfs/btrfsitem/item_blockgroup.go b/lib/btrfs/btrfsitem/item_blockgroup.go index 71d960d..776ff56 100644 --- a/lib/btrfs/btrfsitem/item_blockgroup.go +++ b/lib/btrfs/btrfsitem/item_blockgroup.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_chunk.go b/lib/btrfs/btrfsitem/item_chunk.go index 9256651..7197fb3 100644 --- a/lib/btrfs/btrfsitem/item_chunk.go +++ b/lib/btrfs/btrfsitem/item_chunk.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_dev.go b/lib/btrfs/btrfsitem/item_dev.go index d3fe582..9c3781d 100644 --- a/lib/btrfs/btrfsitem/item_dev.go +++ b/lib/btrfs/btrfsitem/item_dev.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_devextent.go b/lib/btrfs/btrfsitem/item_devextent.go index c346d85..3185bb0 100644 --- a/lib/btrfs/btrfsitem/item_devextent.go +++ b/lib/btrfs/btrfsitem/item_devextent.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_dir.go b/lib/btrfs/btrfsitem/item_dir.go index 57f6d6d..859cd14 100644 --- a/lib/btrfs/btrfsitem/item_dir.go +++ b/lib/btrfs/btrfsitem/item_dir.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_empty.go b/lib/btrfs/btrfsitem/item_empty.go index 209b2fc..47b4a15 100644 --- a/lib/btrfs/btrfsitem/item_empty.go +++ b/lib/btrfs/btrfsitem/item_empty.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_extent.go b/lib/btrfs/btrfsitem/item_extent.go index 9a9ea55..9257d2b 100644 --- a/lib/btrfs/btrfsitem/item_extent.go +++ b/lib/btrfs/btrfsitem/item_extent.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_extentcsum.go b/lib/btrfs/btrfsitem/item_extentcsum.go index b27dbde..f9c546d 100644 --- a/lib/btrfs/btrfsitem/item_extentcsum.go +++ b/lib/btrfs/btrfsitem/item_extentcsum.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_extentdataref.go b/lib/btrfs/btrfsitem/item_extentdataref.go index aab5426..6185202 100644 --- a/lib/btrfs/btrfsitem/item_extentdataref.go +++ b/lib/btrfs/btrfsitem/item_extentdataref.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_fileextent.go b/lib/btrfs/btrfsitem/item_fileextent.go index 2f3ac2b..a69c67a 100644 --- a/lib/btrfs/btrfsitem/item_fileextent.go +++ b/lib/btrfs/btrfsitem/item_fileextent.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_freespacebitmap.go b/lib/btrfs/btrfsitem/item_freespacebitmap.go index 6158eb0..7842785 100644 --- a/lib/btrfs/btrfsitem/item_freespacebitmap.go +++ b/lib/btrfs/btrfsitem/item_freespacebitmap.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem type FreeSpaceBitmap []byte // FREE_SPACE_BITMAP=200 diff --git a/lib/btrfs/btrfsitem/item_freespaceinfo.go b/lib/btrfs/btrfsitem/item_freespaceinfo.go index 89f555e..844f664 100644 --- a/lib/btrfs/btrfsitem/item_freespaceinfo.go +++ b/lib/btrfs/btrfsitem/item_freespaceinfo.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_inode.go b/lib/btrfs/btrfsitem/item_inode.go index 9b1b91b..0fb637e 100644 --- a/lib/btrfs/btrfsitem/item_inode.go +++ b/lib/btrfs/btrfsitem/item_inode.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_inoderef.go b/lib/btrfs/btrfsitem/item_inoderef.go index 80d70e1..e4edf4a 100644 --- a/lib/btrfs/btrfsitem/item_inoderef.go +++ b/lib/btrfs/btrfsitem/item_inoderef.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_metadata.go b/lib/btrfs/btrfsitem/item_metadata.go index d51a340..e90af8d 100644 --- a/lib/btrfs/btrfsitem/item_metadata.go +++ b/lib/btrfs/btrfsitem/item_metadata.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_persistent.go b/lib/btrfs/btrfsitem/item_persistent.go index cbbae76..a827074 100644 --- a/lib/btrfs/btrfsitem/item_persistent.go +++ b/lib/btrfs/btrfsitem/item_persistent.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_root.go b/lib/btrfs/btrfsitem/item_root.go index ff9311f..d1781ec 100644 --- a/lib/btrfs/btrfsitem/item_root.go +++ b/lib/btrfs/btrfsitem/item_root.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_rootref.go b/lib/btrfs/btrfsitem/item_rootref.go index c851474..228ab55 100644 --- a/lib/btrfs/btrfsitem/item_rootref.go +++ b/lib/btrfs/btrfsitem/item_rootref.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_shareddataref.go b/lib/btrfs/btrfsitem/item_shareddataref.go index 63897aa..5ce4198 100644 --- a/lib/btrfs/btrfsitem/item_shareddataref.go +++ b/lib/btrfs/btrfsitem/item_shareddataref.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_untyped.go b/lib/btrfs/btrfsitem/item_untyped.go index 71a9af4..04915c6 100644 --- a/lib/btrfs/btrfsitem/item_untyped.go +++ b/lib/btrfs/btrfsitem/item_untyped.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/item_uuid.go b/lib/btrfs/btrfsitem/item_uuid.go index 6c7d4f0..ca82652 100644 --- a/lib/btrfs/btrfsitem/item_uuid.go +++ b/lib/btrfs/btrfsitem/item_uuid.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/items.go b/lib/btrfs/btrfsitem/items.go index 33ff390..30980d3 100644 --- a/lib/btrfs/btrfsitem/items.go +++ b/lib/btrfs/btrfsitem/items.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( diff --git a/lib/btrfs/btrfsitem/items.txt b/lib/btrfs/btrfsitem/items.txt deleted file mode 100644 index 7898775..0000000 --- a/lib/btrfs/btrfsitem/items.txt +++ /dev/null @@ -1,29 +0,0 @@ -BLOCK_GROUP_ITEM=192 BlockGroup -CHUNK_ITEM=228 Chunk -DEV_EXTENT=204 DevExtent -DEV_ITEM=216 Dev -DIR_INDEX=96 DirEntries -DIR_ITEM=84 DirEntries -EXTENT_CSUM=128 ExtentCSum -EXTENT_DATA=108 FileExtent -EXTENT_DATA_REF=178 ExtentDataRef -EXTENT_ITEM=168 Extent -FREE_SPACE_BITMAP=200 FreeSpaceBitmap -FREE_SPACE_EXTENT=199 Empty -FREE_SPACE_INFO=198 FreeSpaceInfo -INODE_ITEM=1 Inode -INODE_REF=12 InodeRef -METADATA_ITEM=169 Metadata -ORPHAN_ITEM=48 Empty -PERSISTENT_ITEM=249 DevStats -QGROUP_RELATION=246 Empty -ROOT_BACKREF=144 RootRef -ROOT_ITEM=132 Root -ROOT_REF=156 RootRef -SHARED_BLOCK_REF=182 Empty -SHARED_DATA_REF=184 SharedDataRef -TREE_BLOCK_REF=176 Empty -UNTYPED=0:FREE_SPACE_OBJECTID FreeSpaceHeader -UUID_RECEIVED_SUBVOL=252 UUIDMap -UUID_SUBVOL=251 UUIDMap -XATTR_ITEM=24 DirEntries diff --git a/lib/btrfs/btrfsitem/items_gen.go b/lib/btrfs/btrfsitem/items_gen.go index 3b84d60..82743b0 100644 --- a/lib/btrfs/btrfsitem/items_gen.go +++ b/lib/btrfs/btrfsitem/items_gen.go @@ -1,5 +1,7 @@ // Code generated by Make. DO NOT EDIT. +// SPDX-License-Identifier: GPL-2.0-or-later + package btrfsitem import ( |