path: root/utils.h
diff options
authorQu Wenruo <>2017-06-13 17:19:20 +0800
committerDavid Sterba <>2017-07-12 17:52:41 +0200
commit5c8d747cc660142af2216e452315356f3bc356b0 (patch)
treed3e515a13a511e16ac418e7b1fafe1c7caef6074 /utils.h
parent824a300ec8e984281acf4a8d8fc04eeb06c06d9d (diff)
btrfs-progs: Refactor csum_tree_block to use btrfs_fs_info
Signed-off-by: Qu Wenruo <> Signed-off-by: David Sterba <>
Diffstat (limited to 'utils.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.h b/utils.h
index 24d0a200..bf8eb1ed 100644
--- a/utils.h
+++ b/utils.h
@@ -115,8 +115,8 @@ u64 btrfs_device_size(int fd, struct stat *st);
int get_label_mounted(const char *mount_path, char *labelp);
int get_label_unmounted(const char *dev, char *label);
int group_profile_max_safe_loss(u64 flags);
-int csum_tree_block(struct btrfs_root *root, struct extent_buffer *buf,
- int verify);
+int csum_tree_block(struct btrfs_fs_info *root, struct extent_buffer *buf,
+ int verify);
int ask_user(const char *question);
int lookup_path_rootid(int fd, u64 *rootid);
int btrfs_scan_devices(void);