md: don't unregister the thread in mddev_suspend
authorNeilBrown <neilb@suse.de>
Tue, 6 Apr 2010 04:23:02 +0000 (14:23 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 18 May 2010 05:27:56 +0000 (15:27 +1000)
This is
 - unnecessary because mddev_suspend is always followed by a call to
   ->stop, and each ->stop unregisters the thread, and
 - a problem as it makes it awkwards to suspend and then resume a
   device as we will want later.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c

diff --cc drivers/md/md.c
Simple merge