summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-10-17 13:06:57 +0200
committerJo-Philipp Wich <jo@mein.io>2016-10-17 13:06:57 +0200
commitd81972b85738dc54b947f23e1e22bcfe462c8bf4 (patch)
tree891935850dda8abdd494bd315d0663a852d09a29
parenta48796506d77fc339d186cf2da3d8558097b9f0f (diff)
downloadfstools-d81972b85738dc54b947f23e1e22bcfe462c8bf4.tar.gz
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 <jo@mein.io>
-rw-r--r--block.c3
1 files changed, 0 insertions, 3 deletions
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);