aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/btrfs_tree.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2020-05-11 14:49:10 +0200
committerDavid Sterba <dsterba@suse.com>2020-05-25 11:25:29 +0200
commit31344b2fcead3239c5b801016d9bae82506b92c2 (patch)
tree08646d72cff8187412f194c2a850f4e875a7c19a /include/uapi/linux/btrfs_tree.h
parentbtrfs: remove unused function btrfs_dev_extent_chunk_tree_uuid (diff)
downloadlinux-dev-31344b2fcead3239c5b801016d9bae82506b92c2.tar.xz
linux-dev-31344b2fcead3239c5b801016d9bae82506b92c2.zip
btrfs: remove more obsolete v0 extent ref declarations
The extent references v0 have been superseded long time go, there are some unused declarations of access helpers. We can safely remove them now. The struct btrfs_extent_ref_v0 is not used anywhere, but struct btrfs_extent_item_v0 is still part of a backward compatibility check in relocation.c and thus not removed. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/uapi/linux/btrfs_tree.h')
-rw-r--r--include/uapi/linux/btrfs_tree.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/uapi/linux/btrfs_tree.h b/include/uapi/linux/btrfs_tree.h
index 8e322e2c7e78..a3f3975df0de 100644
--- a/include/uapi/linux/btrfs_tree.h
+++ b/include/uapi/linux/btrfs_tree.h
@@ -519,15 +519,6 @@ struct btrfs_extent_inline_ref {
__le64 offset;
} __attribute__ ((__packed__));
-/* old style backrefs item */
-struct btrfs_extent_ref_v0 {
- __le64 root;
- __le64 generation;
- __le64 objectid;
- __le32 count;
-} __attribute__ ((__packed__));
-
-
/* dev extents record free space on individual devices. The owner
* field points back to the chunk allocation mapping tree that allocated
* the extent. The chunk tree uuid field is a way to double check the owner