commit | 7dfdc9a52b4219fba8240750e36de5db860ddd5f | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Oct 31 18:49:52 2005 +0100 |
committer | James Bottomley <jejb@mulgrave.(none)> | Sun Nov 06 12:49:36 2005 -0600 |
tree | b7be4c6a706aad1ce4e07ac22dea6c2afb050868 | |
parent | 262eef663b579f9b495c7392ac7d2d3f34ecc9fe [diff] |
[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 <hch@lst.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>