]> err.no Git - linux-2.6/commit
md: fix bug with linear hot-add and elsewhere
authorNeilBrown <neilb@suse.de>
Wed, 23 May 2007 20:58:10 +0000 (13:58 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 24 May 2007 03:14:14 +0000 (20:14 -0700)
commita778b73ff793d34c0082f76110f73a7754915067
tree54bf868afb3375cfdb0d01d6ce9e5eea47395f85
parentab6085c795a71b6a21afe7469d30a365338add7a
md: fix bug with linear hot-add and elsewhere

Adding a drive to a linear array seems to have stopped working, due to changes
elsewhere in md, and insufficient ongoing testing...

So the patch to make linear hot-add work in the first place introduced a
subtle bug elsewhere that interracts poorly with older version of mdadm.

This fixes it all up.

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/linear.c
drivers/md/md.c