diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-12-10 13:32:35 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2021-12-10 13:32:35 -0500 |
commit | 55e3496d06c9b112f93bb1dea942564f900c2f7d (patch) | |
tree | 4c3a7a330bbf2e92af59f66f11e6a86e38e52003 /libbcachefs/ec.h | |
parent | 99b12cd3a4cdd19985624b79a8c54716cad649bd (diff) |
Rename --group to --label
Disk labels used to be called groups - not all uses had been converted.
This renames --group to --label, and --label to --fs_label
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'libbcachefs/ec.h')
-rw-r--r-- | libbcachefs/ec.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libbcachefs/ec.h b/libbcachefs/ec.h index eb16e140..46814107 100644 --- a/libbcachefs/ec.h +++ b/libbcachefs/ec.h @@ -108,7 +108,7 @@ static inline bool bch2_ptr_matches_stripe(const struct bch_stripe *s, le16_to_cpu(s->sectors)); } -static inline bool bch2_ptr_matches_stripe_m(const struct stripe *m, +static inline bool bch2_ptr_matches_stripe_m(const struct gc_stripe *m, struct extent_ptr_decoded p) { unsigned nr_data = m->nr_blocks - m->nr_redundant; @@ -216,7 +216,6 @@ void bch2_ec_flush_new_stripes(struct bch_fs *); void bch2_stripes_heap_start(struct bch_fs *); int bch2_stripes_read(struct bch_fs *); -int bch2_stripes_write(struct bch_fs *, unsigned); int bch2_ec_mem_alloc(struct bch_fs *, bool); |