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.c | |
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.c')
-rw-r--r-- | libbcachefs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbcachefs.c b/libbcachefs.c index 34246dc9..beba6f33 100644 --- a/libbcachefs.c +++ b/libbcachefs.c @@ -247,15 +247,15 @@ struct bch_sb *bch2_format(struct bch_opt_strs fs_opt_strs, SET_BCH_MEMBER_DURABILITY(m, i->durability + 1); } - /* Disk groups */ + /* Disk labels*/ for (i = devs; i < devs + nr_devs; i++) { struct bch_member *m = mi->members + (i - devs); int idx; - if (!i->group) + if (!i->label) continue; - idx = bch2_disk_path_find_or_create(&sb, i->group); + idx = bch2_disk_path_find_or_create(&sb, i->label); if (idx < 0) die("error creating disk path: %s", idx); |