diff options
author | Filipe Manana <fdmanana@suse.com> | 2016-11-02 11:55:18 +0100 |
---|---|---|
committer | Filipe Manana <fdmanana@suse.com> | 2016-11-19 14:39:18 +0100 |
commit | 2a2a83de548f7afe2c27e51cbc9ff761cba2b61b (patch) | |
tree | a2d383de732f4d0ea9d7dd0d9080d0309c2ea157 /fs/btrfs/delayed-ref.h | |
parent | Btrfs: remove unused code when creating and merging reloc trees (diff) | |
download | linux-2a2a83de548f7afe2c27e51cbc9ff761cba2b61b.tar.xz linux-2a2a83de548f7afe2c27e51cbc9ff761cba2b61b.zip |
Btrfs: remove rb_node field from the delayed ref node structure
After the last big change in the delayed references code that was needed
for the last qgroups rework, the red black tree node field of struct
btrfs_delayed_ref_node is no longer used, so just remove it, this helps
us save some memory (since struct rb_node is 24 bytes on x86_64) for
these structures.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Diffstat (limited to 'fs/btrfs/delayed-ref.h')
-rw-r--r-- | fs/btrfs/delayed-ref.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/delayed-ref.h b/fs/btrfs/delayed-ref.h index 43f3629760e9..a72fbe7f4e09 100644 --- a/fs/btrfs/delayed-ref.h +++ b/fs/btrfs/delayed-ref.h @@ -34,12 +34,6 @@ * ref_head. Must clean this mess up later. */ struct btrfs_delayed_ref_node { - /* - * ref_head use rb tree, stored in ref_root->href. - * indexed by bytenr - */ - struct rb_node rb_node; - /*data/tree ref use list, stored in ref_head->ref_list. */ struct list_head list; |