]> git.baikalelectronics.ru Git - kernel.git/commit
md: guard against possible bad array geometry in v1 metadata
authorNeilBrown <neilb@suse.de>
Tue, 4 Mar 2008 22:29:31 +0000 (14:29 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Mar 2008 00:35:17 +0000 (16:35 -0800)
commit2ed31ed2de0e19eb0fce2b06a613f96e0f9d48ca
tree1ac8c153af0512382c387316a6882df555eb721e
parentb96d509dde6284df8d6b09380b1f62f954a06879
md: guard against possible bad array geometry in v1 metadata

Make sure the data doesn't start before the end of the superblock when the
superblock is at the start of the device.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/md.c