]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ibmasm driver: fix race in command refcount logic
authorMax Asbock <masbock@us.ibm.com>
Wed, 22 Jun 2005 00:16:36 +0000 (17:16 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 22 Jun 2005 02:07:35 +0000 (19:07 -0700)
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>

No differences found