]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
partitions/efi: check pmbr record's starting lba
authorDavidlohr Bueso <davidlohr@hp.com>
Wed, 11 Sep 2013 21:24:56 +0000 (14:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:59:15 +0000 (15:59 -0700)
commit33afd7a7df1a1f82675857a75572cdf4a8599e9f
tree468b6d88bba5f2e517215f0da6f84d87a6f6814d
parentc2ebdc2439f50c049fd362bb225aaf78fe8e4cb8
partitions/efi: check pmbr record's starting lba

Per the UEFI Specs 2.4, June 2013, the starting lba of the partition that
has the EFI GPT (0xEE) must be set to 0x00000001 - this is obviously the
LBA of the GPT Partition Header.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Reviewed-by: Karel Zak <kzak@redhat.com>
Acked-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/partitions/efi.c