From: Tejun Heo Date: Mon, 23 Aug 2010 09:27:27 +0000 (+0200) Subject: libata: be less of a drama queen on empty data commands X-Git-Tag: v2.6.36-rc3~20^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60f5d6ef6b6e70fe850554381fd8336f11530002;p=pandora-kernel.git libata: be less of a drama queen on empty data commands ata_qc_issue() BUG_ON()s on data commands w/o data, which may be submitted via SG_IO. Be less of a drama queen and just trigger WARN_ON_ONCE() and fail the command with AC_ERR_SYSTEM. Signed-off-by: Tejun Heo Reported-by: Stefan Hübner Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed