From: Jo-Philipp Wich Date: Mon, 17 Oct 2016 11:06:57 +0000 (+0200) Subject: block: remove handling of name property X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d81972b85738dc54b947f23e1e22bcfe462c8bf4;p=project%2Ffstools.git block: remove handling of name property There is no concept of a "NAME" property within libblkid, the value previously used was the name parameter of blkid_probe_set_uuid_as() which does not denote the file system name, but the kind of UUID to store. Since the value never makes sense, stop using it when reporting block information. Signed-off-by: Jo-Philipp Wich --- diff --git a/block.c b/block.c index 9d22458..9de8343 100644 --- a/block.c +++ b/block.c @@ -657,9 +657,6 @@ static int print_block_info(struct probe_info *pr) if (pr->label) printf(" LABEL=\"%s\"", pr->label); - if (pr->name) - printf(" NAME=\"%s\"", pr->name); - if (pr->version) printf(" VERSION=\"%s\"", pr->version);