From: Tejun Heo Date: Tue, 11 Mar 2008 02:35:00 +0000 (+0900) Subject: pata_ali: use atapi_cmd_type() to determine cmd type instead of transfer size X-Git-Tag: v2.6.25-rc7~113^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a38e733a75d52e84772fc00d88e32032a235e75;p=pandora-kernel.git pata_ali: use atapi_cmd_type() to determine cmd type instead of transfer size pata_ali was using qc->nbytes to determine whether a command is data transfer type or not. As now qc->nbytes can be extended by padding and draining buffers, these tests are not useful anymore. Use atapi_cmd_type() instead. Signed-off-by: Tejun Heo Cc: Alan Cox Cc: Rafael J. Wysocki Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed