[PATCH 6/8] partitions/efi: compare first and last usable LBAs

2013-08-05 Thread Davidlohr Bueso
When verifying GPT header integrity, make sure that first usable LBA is smaller than last usable LBA. Signed-off-by: Davidlohr Bueso --- block/partitions/efi.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/block/partitions/efi.c b/block/partitions/efi.c index

[PATCH 6/8] partitions/efi: compare first and last usable LBAs

2013-08-05 Thread Davidlohr Bueso
When verifying GPT header integrity, make sure that first usable LBA is smaller than last usable LBA. Signed-off-by: Davidlohr Bueso davidl...@hp.com --- block/partitions/efi.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/block/partitions/efi.c