diff options
author | Davidlohr Bueso <davidlohr@hp.com> | 2013-09-11 23:25:01 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-12 00:59:18 +0200 |
commit | aa054bc93743ecce3a27f1655d59674dabc71a54 (patch) | |
tree | ef4a3d6042ce1ae5554cea6c29e2aca6c230f5dd /block/compat_ioctl.c | |
parent | partitions/efi: account for pmbr size in lba (diff) | |
download | linux-aa054bc93743ecce3a27f1655d59674dabc71a54.tar.xz linux-aa054bc93743ecce3a27f1655d59674dabc71a54.zip |
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: 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>
Diffstat (limited to 'block/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions