]> err.no Git - linux-2.6/commit
[PATCH] md: Fix the 'failed' count for version-0 superblocks
authorNeilBrown <neilb@suse.de>
Mon, 27 Mar 2006 09:18:03 +0000 (01:18 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 27 Mar 2006 16:45:00 +0000 (08:45 -0800)
commit1be7892fffb45f6017494a88ff68fe84c6de26b4
tree685f3d32dc97becd58262531f0827f8d3bb6e96b
parentc5a10f62c5c496c49db749af103b991873b7e2dc
[PATCH] md: Fix the 'failed' count for version-0 superblocks

We are counting failed devices twice, once of the device that is failed, and
once for the hole that has been left in the array.  Remove the former so
'failed' matches 'missing'.  Storing these counts in the superblock is a bit
silly anyway....

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