commit | 3eabddb8ed4f488664ff5d67968392bb424836a3 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Tue Jun 10 18:28:05 2008 +0900 |
committer | Jeff Garzik <jgarzik@redhat.com> | Mon Jul 14 15:59:33 2008 -0400 |
tree | 54f86b3900246f91c0ff87943ef12e19c3fc7c15 | |
parent | ec6add99307d5149e17f6e358f19f0205b622407 [diff] |
libata-eh: update atapi_eh_request_sense() to take @dev instead of @qc Update atapi_eh_request_sense() to take @dev, @sense_buf and @dfl_sense_key instead of taking @qc and extracting information from it. This change is to make the function more generic and allow it to be called from other places. While at it, make cdb initialization use initializer. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>