]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MD: Fix problem where hot-added drives are not resynced.
authorNeil Brown <neilb@suse.de>
Tue, 3 Oct 2006 07:15:00 +0000 (17:15 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Oct 2006 20:23:27 +0000 (13:23 -0700)
commitb9dca3d3ad4a97f60b7364a69d6be97843ba653d
treeba5520367d16aba8ef63c90a8a4c25ee19fc1727
parent92a86ee1f6027881b77b75d48a09e3a946a93d13
MD: Fix problem where hot-added drives are not resynced.

If a drive is added with HOT_ADD_DISK rather than ADD_NEW_DISK,
saved_raid_disk isn't initialised properly, and the drive can be
included in the array without a resync.

From: Neil Brown <neilb@suse.de>
Cc: <syrius.ml@no-log.org>
Cc: Richard Bollinger <rabollinger@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/md.c