summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/print-tree.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-03-20 14:36:46 +0100
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:30 +0200
commite902baac656479bdb956224ed693578424cf9e96 (patch)
tree8abf80703f871c77850caf8fbdfd1b7f8acccc1a /fs/btrfs/print-tree.c
parent6a884d7d527f32b5ea80dc472968a5430ffee9f5 (diff)
downloadblackbird-op-linux-e902baac656479bdb956224ed693578424cf9e96.tar.gz
blackbird-op-linux-e902baac656479bdb956224ed693578424cf9e96.zip
btrfs: get fs_info from eb in btrfs_leaf_free_space
We can read fs_info from extent buffer and can drop it from the parameters. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/print-tree.c')
-rw-r--r--fs/btrfs/print-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/print-tree.c b/fs/btrfs/print-tree.c
index df49931ffe92..1141ca5fae6a 100644
--- a/fs/btrfs/print-tree.c
+++ b/fs/btrfs/print-tree.c
@@ -189,7 +189,7 @@ void btrfs_print_leaf(struct extent_buffer *l)
btrfs_info(fs_info,
"leaf %llu gen %llu total ptrs %d free space %d owner %llu",
btrfs_header_bytenr(l), btrfs_header_generation(l), nr,
- btrfs_leaf_free_space(fs_info, l), btrfs_header_owner(l));
+ btrfs_leaf_free_space(l), btrfs_header_owner(l));
print_eb_refs_lock(l);
for (i = 0 ; i < nr ; i++) {
item = btrfs_item_nr(i);
OpenPOWER on IntegriCloud