diff options
author | Jeff Mahoney <jeffm@suse.com> | 2016-06-22 18:56:44 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-12-06 16:06:57 +0100 |
commit | c28f158e5ee78621ae693b8b18a9b89c7695af40 (patch) | |
tree | d1ea17afb1fc82eae6f5c7bd61d23380f73d2db4 /fs/btrfs/ctree.h | |
parent | de143792253e244322dfe19410db5294d62571ff (diff) | |
download | lwn-c28f158e5ee78621ae693b8b18a9b89c7695af40.tar.gz lwn-c28f158e5ee78621ae693b8b18a9b89c7695af40.zip |
btrfs: struct reada_control.root -> reada_control.fs_info
The root is never used. We substitute extent_root in for the
reada_find_extent call, since it's only ever used to obtain the node
size. This call site will be changed to use fs_info in a later patch.
Signed-off-by: Jeff Mahoney <jeffm@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 74110c7eebf1..9a3ca798087f 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -3652,7 +3652,7 @@ static inline void btrfs_bio_counter_dec(struct btrfs_fs_info *fs_info) /* reada.c */ struct reada_control { - struct btrfs_root *root; /* tree to prefetch */ + struct btrfs_fs_info *fs_info; /* tree to prefetch */ struct btrfs_key key_start; struct btrfs_key key_end; /* exclusive */ atomic_t elems; |