aboutsummaryrefslogtreecommitdiffstats
path: root/disk-io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2013-09-09 22:40:55 +0200
committerChris Mason <chris.mason@fusionio.com>2013-10-16 08:20:43 -0400
commit114a79f8236a7fdf5268cf9efe701e3413941419 (patch)
tree5c3fd2b4d835c869a66ebd8098df281970a57a6e /disk-io.c
parent1425caef053a45ed4e7e96f0d0342566eb6c1fe8 (diff)
downloadbtrfs-progs-114a79f8236a7fdf5268cf9efe701e3413941419.tar.gz
btrfs-progs-114a79f8236a7fdf5268cf9efe701e3413941419.tar.xz
btrfs-progs-114a79f8236a7fdf5268cf9efe701e3413941419.zip
btrfs-progs: make btrfs-corrupt-block compile again
Reexport csum_tree_block. Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'disk-io.c')
-rw-r--r--disk-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-io.c b/disk-io.c
index 0f69f0f..bc673c2 100644
--- a/disk-io.c
+++ b/disk-io.c
@@ -112,7 +112,7 @@ int verify_tree_block_csum_silent(struct extent_buffer *buf, u16 csum_size)
return __csum_tree_block_size(buf, csum_size, 1, 1);
}
-static int csum_tree_block(struct btrfs_root *root, struct extent_buffer *buf,
+int csum_tree_block(struct btrfs_root *root, struct extent_buffer *buf,
int verify)
{
u16 csum_size =