aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2005-08-22 20:11:08 +0000
committerLinus Torvalds <[email protected]>2005-08-23 18:44:30 +0000
commit005eca5e74b222db4360f8938140eb843d283325 (patch)
tree8a8865c1c260de81d13e322ab4259833b4918e15 /net/lapb/lapb_subr.c
parent[PATCH] preempt race in getppid (diff)
downloadkernel-005eca5e74b222db4360f8938140eb843d283325.tar.gz
kernel-005eca5e74b222db4360f8938140eb843d283325.zip
[PATCH] md: make sure resync gets started when array starts.
We weren't actually waking up the md thread after setting MD_RECOVERY_NEEDED when assembling an array, so it is possible to lose a race and not actually start resync. So add a call to md_wakeup_thread, and while we are at it, remove all the "if (mddev->thread)" guards as md_wake_thread does its own checking. Signed-off-by: Neil Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions