diff options
author | Doug Thompson <dougthompson@xmission.com> | 2007-07-19 01:50:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 10:04:57 -0700 |
commit | bf52fa4a26567bfbf5b1d30f84cf0226e61d26cd (patch) | |
tree | 29ff1069cb99043f943cf11bc4423051bd42fbfc /include | |
parent | fb3fb2068775a1363265edc00870aa5e2f0e3631 (diff) |
drivers/edac: fix workq reset deadlock
Fix mutex locking deadlock on the device controller linked list. Was calling
a lock then a function that could call the same lock. Moved the cancel workq
function to outside the lock
Added some short circuit logic in the workq code
Added comments of description
Code tidying
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Cc: Greg KH <greg@kroah.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions