From: Tejun Heo Date: Sat, 18 Apr 2009 22:00:41 +0000 (+0900) Subject: ide-cd: clear sense buffer before issuing request sense X-Git-Tag: v2.6.31-rc1~389^2~145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59a4f6f355fc718581ddcf1bb45a469d4756c035;p=pandora-kernel.git 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 --- Reading git-diff-tree failed