summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <davidlohr@hp.com>2013-09-14 00:02:22 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-15 13:10:16 +0200
commit6b02fa59a7cf34c548eedee657b07ea6c54d3894 (patch)
tree01279f3f74cbf1e1a2feadceb9ee37d4023fe82e /fs/dcache.c
parentMerge tag 'writeback-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadlinux-6b02fa59a7cf34c548eedee657b07ea6c54d3894.tar.xz
linux-6b02fa59a7cf34c548eedee657b07ea6c54d3894.zip
partitions/efi: loosen check fot pmbr size in lba
Matt found that commit 27a7c642174e ("partitions/efi: account for pmbr size in lba") caused his GPT formatted eMMC device not to boot. The reason is that this commit enforced Linux to always check the lesser of the whole disk or 2Tib for the pMBR size in LBA. While most disk partitioning tools out there create a pMBR with these characteristics, Microsoft does not, as it always sets the entry to the maximum 32-bit limitation - even though a drive may be smaller than that[1]. Loosen this check and only verify that the size is either the whole disk or 0xFFFFFFFF. No tool in its right mind would set it to any value other than these. [1] http://thestarman.pcministry.com/asm/mbr/GPT.htm#GPTPT Reported-and-tested-by: Matt Porter <matt.porter@linaro.org> Signed-off-by: Davidlohr Bueso <davidlohr@hp.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions