diff options
author | Josef Bacik <josef@toxicpanda.com> | 2021-11-05 16:45:49 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-01-03 15:09:49 +0100 |
commit | 7939dd9f35f6f76f5ee199851bcb4d89cd7be061 (patch) | |
tree | b0a801826cea941124130edebcbfa3834c93c2a0 /fs/btrfs/ctree.h | |
parent | fc28b25e1f428651133326300d9572b42aae6d8f (diff) | |
download | linux-7939dd9f35f6f76f5ee199851bcb4d89cd7be061.tar.bz2 |
btrfs: stop accessing ->free_space_root directly
We're going to have multiple free space roots in the future, so adjust
all the users of the free space root to use a helper to access the root.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 5a6d53649eee..e1511fbaf851 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -631,7 +631,7 @@ struct btrfs_fs_info { struct btrfs_root *_csum_root; struct btrfs_root *quota_root; struct btrfs_root *uuid_root; - struct btrfs_root *free_space_root; + struct btrfs_root *_free_space_root; struct btrfs_root *data_reloc_root; /* the log root tree is a directory of all the other log roots */ |