Skip to content

Commit

Permalink
bcachefs: sysfs internal/disk_groups include label
Browse files Browse the repository at this point in the history
  • Loading branch information
samhug committed Oct 31, 2024
1 parent ad561ee commit 3361236
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/bcachefs/disk_groups.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ void bch2_disk_groups_to_text(struct printbuf *out, struct bch_fs *c)
continue;
}

prt_printf(out, "[parent %d devs", g->entries[i].parent);
prt_printf(out, "[label %s parent %d devs",
g->entries[i].label, g->entries[i].parent);
for_each_member_device_rcu(c, ca, &g->entries[i].devs)
prt_printf(out, " %s", ca->name);
prt_printf(out, "]");
Expand Down

0 comments on commit 3361236

Please sign in to comment.