projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cc08cf
)
EFI/GPT: Register named partitions.
author
Todd Poynor
<toddpoynor@google.com>
Fri, 27 Aug 2010 00:25:50 +0000
(17:25 -0700)
committer
Colin Cross
<ccross@android.com>
Thu, 30 Sep 2010 00:49:47 +0000
(17:49 -0700)
Change-Id: If318512de67d3d152192aa66b074427f4e5b5c2e
Signed-off-by: Todd Poynor <toddpoynor@google.com>
fs/partitions/efi.c
patch
|
blob
|
history
diff --git
a/fs/partitions/efi.c
b/fs/partitions/efi.c
index dbb44d4bb8a7fa4267de9181069ef9290262e24c..486b4444e6a4646247a57bc9cc7b7b656616b44f 100644
(file)
--- a/
fs/partitions/efi.c
+++ b/
fs/partitions/efi.c
@@
-621,7
+621,11
@@
int efi_partition(struct parsed_partitions *state)
if (!is_pte_valid(&ptes[i], last_lba(state->bdev)))
continue;
- put_partition(state, i+1, start * ssz, size * ssz);
+ put_named_partition(state, i+1, start * ssz, size * ssz,
+ (const char *) ptes[i].partition_name,
+ strnlen((const char *)
+ ptes[i].partition_name,
+ sizeof(ptes[i].partition_name)));
/* If this is a RAID volume, tell md */
if (!efi_guidcmp(ptes[i].partition_type_guid,