[PATCH] md: really get sb_size setting right in all cases
authorNeilBrown <neilb@suse.de>
Fri, 9 Sep 2005 23:24:02 +0000 (16:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 23:39:14 +0000 (16:39 -0700)
commit611815651b2640449bda928079160b9263efac1c
tree1f4edcddee9e5c238bc51e94a65d204bbaf1fafc
parent188c18fd7982d220f4dea234cbb5cc6c75d0f512
[PATCH] md: really get sb_size setting right in all cases

There was another case where sb_size wasn't being set, so instead do the
sensible thing and set if when filling in the content of a superblock.  That
ensures that whenever we write a superblock, the sb_size MUST be set.

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