]> git.baikalelectronics.ru Git - 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)
commit0f240289198eb8bcbd6f57e6a8ba376201c47d55
tree19311875531607830f626c6ff7498969bccdc669
parentbba603ed1fada51e52eb8f55c9c9d3a3551ea299
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