summaryrefslogtreecommitdiff
path: root/drivers/ata/sata_mv.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-08-23 11:27:27 +0200
committerJeff Garzik <jgarzik@redhat.com>2010-08-25 19:24:16 -0400
commit60f5d6ef6b6e70fe850554381fd8336f11530002 (patch)
treedba90f93fab86f1d1cacdd0a9cc4033060713bdd /drivers/ata/sata_mv.c
parentd26377b83972917cfb8f5bee193981aaa1130627 (diff)
downloadlwn-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