summaryrefslogtreecommitdiff
path: root/fs/btrfs/root-tree.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-06-29 19:37:49 +0300
committerDavid Sterba <dsterba@suse.com>2017-08-16 17:12:03 +0300
commita4f78750ef1882e59bb4f947e216cf61ef2d67d2 (patch)
treed262fb16360373142ec08715a7b76118e6fcd26c /fs/btrfs/root-tree.c
parentf1b8a1e8c00a12000e5683f7312f2b1d877717ae (diff)
downloadlinux-a4f78750ef1882e59bb4f947e216cf61ef2d67d2.tar.xz
btrfs: get fs_info from eb in btrfs_print_leaf, remove argument
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/root-tree.c')
-rw-r--r--fs/btrfs/root-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c
index 460db0cb2d07..5b488af6f25e 100644
--- a/fs/btrfs/root-tree.c
+++ b/fs/btrfs/root-tree.c
@@ -151,7 +151,7 @@ int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root
}
if (ret != 0) {
- btrfs_print_leaf(fs_info, path->nodes[0]);
+ btrfs_print_leaf(path->nodes[0]);
btrfs_crit(fs_info, "unable to update root key %llu %u %llu",
key->objectid, key->type, key->offset);
BUG_ON(1);