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>
This commit is contained in:

committed by
David Sterba

parent
de14379225
commit
c28f158e5e
@@ -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;
|
||||
|
Reference in New Issue
Block a user