bcachefs: Don't print anything when device doesn't have a label

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2020-01-03 18:57:32 -05:00 committed by Kent Overstreet
parent d5cdf033cd
commit 3e548da8f5

View File

@ -914,8 +914,6 @@ SHOW(bch2_dev)
bch2_disk_path_to_text(&out, &c->disk_sb,
ca->mi.group - 1);
mutex_unlock(&c->sb_lock);
} else {
pr_buf(&out, "none");
}
pr_buf(&out, "\n");