partitions/efi: compare first and last usable LBAs
When verifying GPT header integrity, make sure that first usable LBA is smaller than last usable LBA. Signed-off-by: NDavidlohr Bueso <davidlohr@hp.com> Reviewed-by: NKarel Zak <kzak@redhat.com> Acked-by: NMatt Fleming <matt.fleming@intel.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
想要评论请 注册 或 登录