From: Christoph Hellwig Date: Mon, 31 Oct 2005 17:49:52 +0000 (+0100) Subject: [SCSI] use a completion in scsi_send_eh_cmnd X-Git-Tag: v2.6.15-rc1~7^2~13^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dfdc9a52b4219fba8240750e36de5db860ddd5f;p=pandora-kernel.git [SCSI] use a completion in scsi_send_eh_cmnd scsi_send_eh_cmnd currently uses a semaphore and an overload of eh_timer to either get a completion for a command for a timeout. Switch to using a completion and wait_for_completion_timeout to simply the code and not having to deal with the races ourselves. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley --- Reading git-diff-tree failed