summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2017-09-29 15:43:49 -0400
committerDavid Sterba <dsterba@suse.com>2017-10-30 12:28:00 +0100
commit84f7d8e6242ceb377c7af10a7133c653cc7fea5f (patch)
tree66bbe204176cf912f438abbdc7fa0b4bf9a0575c /fs/btrfs/ctree.c
parentfb592373cddeb4ed6c21eef4d6063f15176ab463 (diff)
downloadlinux-stable-84f7d8e6242ceb377c7af10a7133c653cc7fea5f.tar.gz
linux-stable-84f7d8e6242ceb377c7af10a7133c653cc7fea5f.tar.bz2
linux-stable-84f7d8e6242ceb377c7af10a7133c653cc7fea5f.zip
btrfs: pass root to various extent ref mod functions
We need the actual root for the ref verifier tool to work, so change these functions to pass the root around instead. This will be used in a subsequent patch. Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r--fs/btrfs/ctree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index 19b9c5131745..531e0a8645b0 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -192,7 +192,7 @@ struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root)
* tree until you end up with a lock on the root. A locked buffer
* is returned, with a reference held.
*/
-static struct extent_buffer *btrfs_read_lock_root_node(struct btrfs_root *root)
+struct extent_buffer *btrfs_read_lock_root_node(struct btrfs_root *root)
{
struct extent_buffer *eb;