summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2012-02-08 21:29:13 -0500
committerChris Mason <chris.mason@oracle.com>2012-02-08 21:29:13 -0500
commit5fd54bc94b6cdf78706b0f078b4abee2cbae8651 (patch)
treeb8a2cbc6ab8eaeb5f2f6aececd159020bebc16c1 /ctree.h
parent08e2cb625eb553e1317e137b279eb7547cef6ae8 (diff)
btrfsck: fix block group accounting during repair
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctree.h b/ctree.h
index 5e770d28..6f128696 100644
--- a/ctree.h
+++ b/ctree.h
@@ -1785,6 +1785,9 @@ static inline u32 btrfs_level_size(struct btrfs_root *root, int level) {
btrfs_item_offset_nr(leaf, slot)))
/* extent-tree.c */
+int btrfs_fix_block_accounting(struct btrfs_trans_handle *trans,
+ struct btrfs_root *root);
+int btrfs_check_block_accounting(struct btrfs_root *root);
void btrfs_pin_extent(struct btrfs_fs_info *fs_info, u64 bytenr, u64 num_bytes);
int btrfs_extent_post_op(struct btrfs_trans_handle *trans,
struct btrfs_root *root);