From: Mike Christie Date: Wed, 24 Sep 2008 16:46:15 +0000 (-0500) Subject: libiscsi: fix locking in iscsi_eh_device_reset X-Git-Tag: v2.6.28-rc1~263^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a343914831a8e29d89af3b26495ab1136a9e3153;p=pandora-kernel.git libiscsi: fix locking in iscsi_eh_device_reset We must be using the bh spin locking functions in iscsi_eh_device_reset becuase the session lock interacts with a thread and softirq. This patch also fixes up a bogus comment and check in fail_command, because no one drops the lock (bnx2i did but it is not going upstream yet and there were other refcount changes for that). Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed