btrfs: remove last_ref from the extent freeing code
authorJosef Bacik <josef@toxicpanda.com>
Wed, 23 Feb 2022 19:06:45 +0000 (14:06 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 14 Mar 2022 12:13:53 +0000 (13:13 +0100)
commit5b2a54bb7c47c10ab6d96311d46a76b4a84f0b6f
tree24d41c02aab431f89e57b92a513127a7a63f047d
parent3466670558d70b30238bbef5fa0267bc6301b8db
btrfs: remove last_ref from the extent freeing code

This is a remnant of the work I did for qgroups a long time ago to only
run for a block when we had dropped the last ref.  We haven't done that
for years, but the code remains.  Drop this remnant.

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/extent-tree.c