From 4623a01bdc07756ab9b3102786f56c104bff744b Mon Sep 17 00:00:00 2001 From: Josef Bacik Date: Thu, 28 Jun 2007 16:20:29 -0400 Subject: calculate checksums during IO --- disk-io.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'disk-io.h') diff --git a/disk-io.h b/disk-io.h index 8e0d6402..61c7e16c 100644 --- a/disk-io.h +++ b/disk-io.h @@ -51,6 +51,8 @@ int write_ctree_super(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_super_block *s); int btrfs_map_bh_to_logical(struct btrfs_root *root, struct btrfs_buffer *bh, u64 logical); +int btrfs_csum_super(struct btrfs_root *root, struct btrfs_super_block *super); +int btrfs_csum_node(struct btrfs_root *root, struct btrfs_node *node); #define BTRFS_SUPER_INFO_OFFSET (16 * 1024) #endif -- cgit v1.2.3