From: Maciej Sosnowski Date: Tue, 3 Feb 2009 07:26:57 +0000 (-0800) Subject: dca: redesign locks to fix deadlocks X-Git-Tag: v2.6.29-rc4~56^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb4400e3a040b90a3ad805b01fcbc99a5f615c8f;p=pandora-kernel.git dca: redesign locks to fix deadlocks Change spin_locks to irqsave to prevent dead-locks. Protect adding and deleting to/from dca_providers list. Drop the lock during dca_sysfs_add_req() and dca_sysfs_remove_req() calls as they might sleep (use GFP_KERNEL allocation). Signed-off-by: Maciej Sosnowski Acked-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed