[PATCH 5/8] partitions/efi: account for pmbr size in lba

2013-08-05 Thread Davidlohr Bueso
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 0x for larger disks. Signed-off-by: Davidlohr Bueso --- block/partitions/efi.c | 21 ++--- 1 file changed, 18 insertions(+), 3

[PATCH 5/8] partitions/efi: account for pmbr size in lba

2013-08-05 Thread Davidlohr Bueso
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 0x for larger disks. Signed-off-by: Davidlohr Bueso davidl...@hp.com --- block/partitions/efi.c | 21 ++--- 1 file changed, 18