btrfs: get fs_info from eb in btrfs_check_leaf_full
[sfrench/cifs-2.6.git] / fs / btrfs / tree-checker.c
index 6828de4e976c8181d97e2f6bd6ea5403e5c9eef8..594f8a0bff61d59e4512aae198feda68ab200594 100644 (file)
@@ -963,8 +963,7 @@ static int check_leaf(struct extent_buffer *leaf, bool check_item_data)
        return 0;
 }
 
-int btrfs_check_leaf_full(struct btrfs_fs_info *fs_info,
-                         struct extent_buffer *leaf)
+int btrfs_check_leaf_full(struct extent_buffer *leaf)
 {
        return check_leaf(leaf, true);
 }