btrfs: do not handle non-shareable roots in backref cache
authorJosef Bacik <josef@toxicpanda.com>
Thu, 3 Oct 2024 15:43:09 +0000 (11:43 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 13 Jan 2025 13:53:15 +0000 (14:53 +0100)
commit4eb8064dc9230a2f58c9df13d59e53265b0cc8e6
tree896cae3b3f3a56356107903e4c1ae84c9e7596f5
parent46bb6765d31138abe436b37a4f271895f7751bf2
btrfs: do not handle non-shareable roots in backref cache

Now that we handle relocation for non-shareable roots without using the
backref cache, remove the ->cowonly field from the backref nodes and
update the handling to throw an error.

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