]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
MD: Fix problem where hot-added drives are not resynced.
authorNeil Brown <neilb@suse.de>
Mon, 26 Mar 2007 21:40:42 +0000 (23:40 +0200)
committerAdrian Bunk <bunk@stusta.de>
Mon, 26 Mar 2007 21:40:42 +0000 (23:40 +0200)
commitd03e0c61f63e3c12a5b33403c895285f4e345c35
tree4c08a42478f54e1fbbf2638e2216c29ec59fa6c8
parentcf2492d903eecf66613568d0a2f1a967d6ead4c1
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.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/md/md.c