commit | 1873b90cdea038715ec7140fccc2116fb930ffb5 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Sun Apr 19 07:00:41 2009 +0900 |
committer | Tejun Heo <tj@kernel.org> | Sun Apr 19 07:00:41 2009 +0900 |
tree | 3431a3c61937ca8db8d535394bec57bb846c4de5 | |
parent | 46a802e852c2106d755f697819ea80cd3ffdc222 [diff] |
ide-cd: clear sense buffer before issuing request sense Impact: code simplification ide_cd_request_sense_fixup() clears the tail of the sense buffer if the device didn't completely fill it. This patch makes cdrom_queue_request_sense() clear the sense buffer before issuing the command instead of clearing it afterwards. This simplifies code and eases future changes. Signed-off-by: Tejun Heo <tj@kernel.org>