]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: show none if label is not set
authorHongbo Li <lihongbo22@huawei.com>
Fri, 12 Jul 2024 07:09:25 +0000 (15:09 +0800)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 14 Jul 2024 23:00:16 +0000 (19:00 -0400)
commit114f530e1e600245b0f9c114aa75c1ecc4376c67
treec03a3072c906934f2acfc56b2732513d12f1ac9c
parent7b6dda7282b1f26094aac21e1862690c79152e51
bcachefs: show none if label is not set

If label is not set, the Label tag in superblock info show '(none)'.

```
[Before]
Device index:                               0
Label:
Version:                                    1.4: member_seq

[After]
Device index:                               0
Label:                                      (none)
Version:                                    1.4: member_seq
```

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/super-io.c