commit | 60f5d6ef6b6e70fe850554381fd8336f11530002 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Mon Aug 23 11:27:27 2010 +0200 |
committer | Jeff Garzik <jgarzik@redhat.com> | Wed Aug 25 19:24:16 2010 -0400 |
tree | dba90f93fab86f1d1cacdd0a9cc4033060713bdd | |
parent | d26377b83972917cfb8f5bee193981aaa1130627 [diff] |
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 <tj@kernel.org> Reported-by: Stefan Hübner <stefan.huebner@stud.tu-ilmenau.de> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>