From: James Bottomley Date: Mon, 22 Aug 2005 15:06:19 +0000 (-0500) Subject: [SCSI] correct attribute_container list usage X-Git-Tag: v2.6.14-rc1~522^2^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53c165e0a6c8a4ff7df316557528fa7a52d20711;p=pandora-kernel.git [SCSI] correct attribute_container list usage One of the changes in the attribute_container code in the scsi-misc tree was to add a lock to protect the list of devices per container. This, unfortunately, leads to potential scheduling while atomic problems if there's a sleep in the function called by a trigger. The correct solution is to use the kernel klist infrastructure instead which allows lockless traversal of a list. Signed-off-by: James Bottomley --- Reading git-diff-tree failed