]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: remove the ->lowest and ->leaves members from struct btrfs_backref_node
authorJosef Bacik <josef@toxicpanda.com>
Thu, 3 Oct 2024 15:43:11 +0000 (11:43 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 13 Jan 2025 13:53:15 +0000 (14:53 +0100)
commitb61e0eb0374299ab5fdd5a767f2759907dc41e1e
tree95666e7397b0bdf9df2658daf7aa1f5378e32761
parent29e74a12a31456ee29d83ea83a545767111517de
btrfs: remove the ->lowest and ->leaves members from struct btrfs_backref_node

Before we were keeping all of our nodes on various lists in order to
make sure everything got cleaned up correctly.  We used node->lowest to
indicate that node->lower was linked into the cache->leaves list.  Now
that we do cleanup based on the rb-tree both the list and the flag are
useless, so delete them both.

Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c
fs/btrfs/backref.h
fs/btrfs/relocation.c