diff options
author | Josef Bacik <josef@toxicpanda.com> | 2024-10-03 11:43:09 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-01-13 14:53:15 +0100 |
commit | 4eb8064dc9230a2f58c9df13d59e53265b0cc8e6 (patch) | |
tree | 896cae3b3f3a56356107903e4c1ae84c9e7596f5 /fs/btrfs/backref.h | |
parent | 46bb6765d31138abe436b37a4f271895f7751bf2 (diff) |
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>
Diffstat (limited to 'fs/btrfs/backref.h')
-rw-r--r-- | fs/btrfs/backref.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/backref.h b/fs/btrfs/backref.h index 7220bde1fc31..c52bc5f45041 100644 --- a/fs/btrfs/backref.h +++ b/fs/btrfs/backref.h @@ -341,8 +341,6 @@ struct btrfs_backref_node { struct extent_buffer *eb; /* Level of the tree block */ unsigned int level:8; - /* Is the block in a non-shareable tree */ - unsigned int cowonly:1; /* 1 if no child node is in the cache */ unsigned int lowest:1; /* Is the extent buffer locked */ |