diff options
author | Tejun Heo <tj@kernel.org> | 2010-08-23 11:27:27 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-08-25 19:24:16 -0400 |
commit | 60f5d6ef6b6e70fe850554381fd8336f11530002 (patch) | |
tree | dba90f93fab86f1d1cacdd0a9cc4033060713bdd /drivers/ata/sata_mv.c | |
parent | d26377b83972917cfb8f5bee193981aaa1130627 (diff) | |
download | lwn-60f5d6ef6b6e70fe850554381fd8336f11530002.tar.gz lwn-60f5d6ef6b6e70fe850554381fd8336f11530002.zip |
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>
Diffstat (limited to 'drivers/ata/sata_mv.c')
0 files changed, 0 insertions, 0 deletions