bcachefs: Fix adding a device with a label

Device labels are represented as pointers in the member info section: we
need to get and then set the label for it to be kept correctly.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
Kent Overstreet 2022-08-18 17:57:24 -04:00 • committed by Kent Overstreet
commit 02afcb8c26
3 changed files with 34 additions and 13 deletions