summaryrefslogtreecommitdiff
path: root/disk-io.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-04-09 16:28:12 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2008-04-09 16:28:12 -0400
commitfd2d0af0bf80c127fbb3b84817a420fbc490da5d (patch)
treeeb9145973922aed41e23bba86d6fb01cc0fbb8ec /disk-io.h
parent1b74adf90b95af77a2826dc82cf5c5f38af90e52 (diff)
Retry metadata reads in the face of checksum failures
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 f680721a..1b5cbdfb 100644
--- a/disk-io.h
+++ b/disk-io.h
@@ -52,4 +52,6 @@ void btrfs_csum_final(u32 crc, char *result);
int btrfs_commit_transaction(struct btrfs_trans_handle *trans,
struct btrfs_root *root);
int btrfs_open_device(struct btrfs_device *dev);
+int csum_tree_block(struct btrfs_root *root, struct extent_buffer *buf,
+ int verify);
#endif