summaryrefslogtreecommitdiff
path: root/check/common.h
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2018-01-18 16:30:10 +0800
committerDavid Sterba <dsterba@suse.com>2018-02-02 16:01:58 +0100
commit3d3ce73d90d71a3a31b7144536285fa847df9c80 (patch)
tree899f436c4410de5326288ff309db72b32840b6e0 /check/common.h
parentfa37a13f73ad43233db97c945b0e36d9dcaef298 (diff)
btrfs-progs: check: Move check_child_node to check/common.c
Reviewed-by: Su Yue <suy.fnst@cn.fujitsu.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'check/common.h')
-rw-r--r--check/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/check/common.h b/check/common.h
index 34b2f8a9..d200a0c9 100644
--- a/check/common.h
+++ b/check/common.h
@@ -93,5 +93,7 @@ int link_inode_to_lostfound(struct btrfs_trans_handle *trans,
void check_dev_size_alignment(u64 devid, u64 total_bytes, u32 sectorsize);
void reada_walk_down(struct btrfs_root *root, struct extent_buffer *node,
int slot);
+int check_child_node(struct extent_buffer *parent, int slot,
+ struct extent_buffer *child);
#endif