diff options
author | Davidlohr Bueso <davidlohr@hp.com> | 2013-09-11 14:25:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-11 15:59:18 -0700 |
commit | aa054bc93743ecce3a27f1655d59674dabc71a54 (patch) | |
tree | ef4a3d6042ce1ae5554cea6c29e2aca6c230f5dd /kernel/user.c | |
parent | 27a7c642174eaec627f6a3a254035bf8abd02c5e (diff) | |
download | op-kernel-dev-aa054bc93743ecce3a27f1655d59674dabc71a54.zip op-kernel-dev-aa054bc93743ecce3a27f1655d59674dabc71a54.tar.gz |
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 'kernel/user.c')
0 files changed, 0 insertions, 0 deletions