summaryrefslogtreecommitdiff
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2016-06-23 01:56:44 +0300
committerDavid Sterba <dsterba@suse.com>2016-12-06 18:06:57 +0300
commitc28f158e5ee78621ae693b8b18a9b89c7695af40 (patch)
treed1ea17afb1fc82eae6f5c7bd61d23380f73d2db4 /fs/btrfs/ctree.h
parentde143792253e244322dfe19410db5294d62571ff (diff)
downloadlinux-c28f158e5ee78621ae693b8b18a9b89c7695af40.tar.xz
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.h2
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;