OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d83faa
)
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>
Fri, 3 Sep 2010 20:42:12 +0000
(13:42 -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
9efb2cf
..
6e7030b
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,