diff options
author | Max Asbock <masbock@us.ibm.com> | 2005-06-22 02:16:36 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-22 04:07:35 +0200 |
commit | 8818760512424f60ad9fafb7a087b007a9274eb3 (patch) | |
tree | fb49ce398750f42803d4631a24e4a2ffe35d79d7 /drivers/mtd | |
parent | [PATCH] ibmasm driver: redesign handling of remote control events (diff) | |
download | linux-8818760512424f60ad9fafb7a087b007a9274eb3.tar.xz linux-8818760512424f60ad9fafb7a087b007a9274eb3.zip |
[PATCH] ibmasm driver: fix race in command refcount logic
This patch fixes a race in the command reference counting logic by putting
spinlocks around kobject_put() in the command_put function.
- Also added debug messages.
- Changed a memcpy to memcpy_fromio since we are reading from io space.
Signed-off-by: Max Asbock <masbock@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions