[PATCH] md: Make sure rdev->size gets set for version-1 superblocks
commit8ed75463b969f72fd724ba0c01107fa443522321
authorNeilBrown <neilb@suse.de>
Fri, 3 Feb 2006 11:03:41 +0000 (3 03:03 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:32:00 +0000 (3 08:32 -0800)
tree4d14d9a4374ea981e3e3f5e94cc292c392fff222
parent29fc7e3e70a05e9eea28afb6707a39c1a53e2f66
[PATCH] md: Make sure rdev->size gets set for version-1 superblocks

Sometimes it doesn't so make the code more like the version-0 code which
works.

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