btrfs-progs: check: Move reset_cached_block_groups to check/common.c
[platform/upstream/btrfs-progs.git] / check / common.h
index cd64798..09745af 100644 (file)
@@ -82,5 +82,19 @@ static inline int fs_root_objectid(u64 objectid)
 
 int count_csum_range(struct btrfs_fs_info *fs_info, u64 start,
                     u64 len, u64 *found);
+int insert_inode_item(struct btrfs_trans_handle *trans,
+                     struct btrfs_root *root, u64 ino, u64 size,
+                     u64 nbytes, u64 nlink, u32 mode);
+int link_inode_to_lostfound(struct btrfs_trans_handle *trans,
+                           struct btrfs_root *root,
+                           struct btrfs_path *path,
+                           u64 ino, char *namebuf, u32 name_len,
+                           u8 filetype, u64 *ref_count);
+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);
+void reset_cached_block_groups(struct btrfs_fs_info *fs_info);
 
 #endif