summaryrefslogtreecommitdiff
path: root/disk-io.h
diff options
context:
space:
mode:
authorJosef Bacik <jwhiter@redhat.com>2007-06-28 16:20:29 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-06-28 16:20:29 -0400
commit4623a01bdc07756ab9b3102786f56c104bff744b (patch)
tree16b3bf41dbd1d1503ae18d8b7a09027f40bc1dce /disk-io.h
parent2b3741c47c8757e01e472a85c43283ed75d65b32 (diff)
downloadbtrfs-progs-4623a01bdc07756ab9b3102786f56c104bff744b.tar.gz
calculate checksums during IOv0.5
Diffstat (limited to 'disk-io.h')
-rw-r--r--disk-io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/disk-io.h b/disk-io.h
index 8e0d640..61c7e16 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