summaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2008-04-30 09:52:29 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-30 17:29:32 +0200
commitd897dbf91490f26dccef3d7056ffd09eb83a15a5 (patch)
treec9e812bf24f39a497d197f516cf3023482403d19 /drivers/net/pcmcia
parentmd: skip all metadata update processing when using external metadata. (diff)
downloadlinux-d897dbf91490f26dccef3d7056ffd09eb83a15a5.tar.xz
linux-d897dbf91490f26dccef3d7056ffd09eb83a15a5.zip
md: reinitialise more mddev fields in do_md_stop.
I keep finding problems where an mddev gets reused and some fields has a value from a previous usage that confuses the new usage. So clear all fields that could possible need clearing when calling do_md_stop. Also initialise the 'level' of a new array to LEVEL_NONE (which isn't 0). 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>
Diffstat (limited to 'drivers/net/pcmcia')
0 files changed, 0 insertions, 0 deletions