diff options
| author | 2020-01-24 09:32:23 -0500 | |
|---|---|---|
| committer | 2020-03-23 17:01:26 +0100 | |
| commit | 83db2aadb3bd3a117918434448e8c0e90229b73b (patch) | |
| tree | 3c391a82d2668dfcb0233bfbcf0d10b69d6435b0 /fs/btrfs/disk-io.h | |
| parent | btrfs: make relocation use btrfs_read_tree_root() (diff) | |
| download | wireguard-linux-83db2aadb3bd3a117918434448e8c0e90229b73b.tar.xz wireguard-linux-83db2aadb3bd3a117918434448e8c0e90229b73b.zip | |
btrfs: remove btrfs_read_fs_root, not used anymore
All helpers should either be using btrfs_get_fs_root() or
btrfs_read_tree_root().
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
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/disk-io.h')
| -rw-r--r-- | fs/btrfs/disk-io.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h index 158fec0eeef2..4e43bd37f9c5 100644 --- a/fs/btrfs/disk-io.h +++ b/fs/btrfs/disk-io.h @@ -60,8 +60,6 @@ int btrfs_read_dev_one_super(struct block_device *bdev, int copy_num, int btrfs_commit_super(struct btrfs_fs_info *fs_info); struct btrfs_root *btrfs_read_tree_root(struct btrfs_root *tree_root, struct btrfs_key *key); -struct btrfs_root *btrfs_read_fs_root(struct btrfs_root *tree_root, - struct btrfs_key *location); int btrfs_init_fs_root(struct btrfs_root *root); struct btrfs_root *btrfs_lookup_fs_root(struct btrfs_fs_info *fs_info, u64 root_id); |
