From: Max Asbock Date: Wed, 22 Jun 2005 00:16:36 +0000 (-0700) Subject: [PATCH] ibmasm driver: fix race in command refcount logic X-Git-Tag: v2.6.13-rc1~68^2~582^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8818760512424f60ad9fafb7a087b007a9274eb3;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed