From: Kent Overstreet Date: Fri, 3 Jan 2020 23:57:32 +0000 (-0500) Subject: bcachefs: Don't print anything when device doesn't have a label X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3e548da8f57ef41523f6f7fe72f812116af48ba1;p=linux.git bcachefs: Don't print anything when device doesn't have a label Signed-off-by: Kent Overstreet Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/sysfs.c b/fs/bcachefs/sysfs.c index d3713db317cef..13b48a0fc87d9 100644 --- a/fs/bcachefs/sysfs.c +++ b/fs/bcachefs/sysfs.c @@ -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");