summaryrefslogtreecommitdiffstats
path: root/block/partitions
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2014-12-18 16:02:17 +0100
committerRicardo Neri <ricardo.neri-calderon@linux.intel.com>2015-01-07 19:07:44 -0800
commit26e022727f5e88c6e5054e14d954425deacbe56a (patch)
treeb57dfabd52def943ad99e0c0b1a34c3cdca58971 /block/partitions
parent0e4ca02b3fc0e33e96eef1f4da227eab2c67b8ac (diff)
downloadlinux-26e022727f5e88c6e5054e14d954425deacbe56a.tar.gz
linux-26e022727f5e88c6e5054e14d954425deacbe56a.tar.bz2
linux-26e022727f5e88c6e5054e14d954425deacbe56a.zip
efi: Rename efi_guid_unparse to efi_guid_to_str
Call it what it does - "unparse" is plain-misleading. Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Diffstat (limited to 'block/partitions')
-rw-r--r--block/partitions/efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/partitions/efi.c b/block/partitions/efi.c
index 56d08fd75b1a..26cb624ace05 100644
--- a/block/partitions/efi.c
+++ b/block/partitions/efi.c
@@ -715,7 +715,7 @@ int efi_partition(struct parsed_partitions *state)
state->parts[i + 1].flags = ADDPART_FLAG_RAID;
info = &state->parts[i + 1].info;
- efi_guid_unparse(&ptes[i].unique_partition_guid, info->uuid);
+ efi_guid_to_str(&ptes[i].unique_partition_guid, info->uuid);
/* Naively convert UTF16-LE to 7 bits. */
label_max = min(ARRAY_SIZE(info->volname) - 1,