]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs/partition/msdos: fix unusable extended partition for > 512B sector
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Tue, 23 Mar 2010 20:35:50 +0000 (13:35 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 23:01:47 +0000 (16:01 -0700)
commit29ef84453e8cecb4d75e4ca8f5e28b96014d0d9d
tree10ca71e362cc15bc83cf0579a66ce9a93ada5271
parent5c417206f32050f414f5eccfbfcb2f26c1dc1d3c
fs/partition/msdos: fix unusable extended partition for > 512B sector

commit 8e0cc811e0f8029a7225372fb0951fab102c012f upstream.

Smaller size than a minimum blocksize can't be used, after all it's
handled like 0 size.

For extended partition itself, this makes sure to use bigger size than one
logical sector size at least.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: Daniel Taylor <Daniel.Taylor@wdc.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/partitions/msdos.c