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~397^2~26 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1873b90cdea038715ec7140fccc2116fb930ffb5;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