diff options
author | 2005-04-16 15:26:41 -0700 | |
---|---|---|
committer | 2005-04-16 15:26:41 -0700 | |
commit | d28446fe2d87ea344c14741c39962dcc7aee5c78 (patch) | |
tree | b41bec77e5e5123f8f5349eb01ced9ee8fd9a924 /drivers/scsi/arm/fas216.c | |
parent | [PATCH] fbdev MAINTAINERS update (diff) | |
download | linux-dev-d28446fe2d87ea344c14741c39962dcc7aee5c78.tar.xz linux-dev-d28446fe2d87ea344c14741c39962dcc7aee5c78.zip |
[PATCH] md: close a small race in md thread deregistration
There is a tiny race when de-registering an MD thread, in that the thread
could disappear before it is set a SIGKILL, causing send_sig to have
problems.
This is most easily closed by holding tasklist_lock between enabling the
thread to exit (setting ->run to NULL) and telling it to exit.
(akpm: ick. Needs to use kthread API and stop using signals)
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/arm/fas216.c')
0 files changed, 0 insertions, 0 deletions