]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
partitions/efi: account for pmbr size in lba
authorDavidlohr Bueso <davidlohr@hp.com>
Wed, 11 Sep 2013 21:25:00 +0000 (14:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:59:17 +0000 (15:59 -0700)
commit27a7c642174eaec627f6a3a254035bf8abd02c5e
tree19311875531607830f626c6ff7498969bccdc669
parentb05ebbbbeb67a420d06567c6b9618a9e644d6104
partitions/efi: account for pmbr size in lba

The partition that has the 0xEE (GPT protective), must have the size in
lba field set to the lesser of the size of the disk minus one or
0xFFFFFFFF for larger disks.

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