diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-11-09 09:24:07 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:08:11 +0300 |
commit | 319f9ac38eaba628d69b6ddbf402b35487315fc1 (patch) | |
tree | 01daddd4881b1f09bb4d50087e8b8803e59fea35 /fs/bcachefs/replicas.h | |
parent | 75369d4ec3d2dfc52af18a2d20cd0af14c935ac9 (diff) | |
download | linux-319f9ac38eaba628d69b6ddbf402b35487315fc1.tar.xz |
bcachefs: revamp to_text methods
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/replicas.h')
-rw-r--r-- | fs/bcachefs/replicas.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/bcachefs/replicas.h b/fs/bcachefs/replicas.h index ebbb1334cc2c..d3d81a1a39cd 100644 --- a/fs/bcachefs/replicas.h +++ b/fs/bcachefs/replicas.h @@ -13,8 +13,7 @@ int bch2_mark_replicas(struct bch_fs *, enum bch_data_type, int bch2_mark_bkey_replicas(struct bch_fs *, enum bkey_type, struct bkey_s_c); -int bch2_cpu_replicas_to_text(struct bch_replicas_cpu *, char *, size_t); -int bch2_sb_replicas_to_text(struct bch_sb_field_replicas *, char *, size_t); +void bch2_cpu_replicas_to_text(struct printbuf *, struct bch_replicas_cpu *); struct replicas_status { struct { |