summaryrefslogtreecommitdiff
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2016-06-22 18:56:44 -0400
committerDavid Sterba <dsterba@suse.com>2016-12-06 16:06:57 +0100
commitc28f158e5ee78621ae693b8b18a9b89c7695af40 (patch)
treed1ea17afb1fc82eae6f5c7bd61d23380f73d2db4 /fs/btrfs/ctree.h
parentde143792253e244322dfe19410db5294d62571ff (diff)
downloadlwn-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.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;