summaryrefslogtreecommitdiff
path: root/libbcachefs/disk_groups.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-02-21 05:38:44 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2022-02-21 05:38:44 -0500
commitc06026ac542911329a99a3f02a4f5732d6c8e51c (patch)
tree01498700cb8255284e8d32a6e1703edfc33e9d99 /libbcachefs/disk_groups.h
parentf85062409230ee9c0ce9e1a7bedb916006597e97 (diff)
Update bcachefs sources to 9d554fa16d bcachefs: Add .to_text() methods for all superblock sections
Diffstat (limited to 'libbcachefs/disk_groups.h')
-rw-r--r--libbcachefs/disk_groups.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbcachefs/disk_groups.h b/libbcachefs/disk_groups.h
index 3d84f23c..a274aacb 100644
--- a/libbcachefs/disk_groups.h
+++ b/libbcachefs/disk_groups.h
@@ -75,8 +75,9 @@ int bch2_disk_path_find(struct bch_sb_handle *, const char *);
/* Exported for userspace bcachefs-tools: */
int bch2_disk_path_find_or_create(struct bch_sb_handle *, const char *);
-void bch2_disk_path_to_text(struct printbuf *, struct bch_sb_handle *,
- unsigned);
+void bch2_disk_path_to_text(struct printbuf *, struct bch_sb *, unsigned);
+
+void bch2_sb_target_to_text(struct printbuf *, struct bch_sb *, u64);
int bch2_opt_target_parse(struct bch_fs *, const char *, u64 *);
void bch2_opt_target_to_text(struct printbuf *, struct bch_fs *, u64);