Skip to content
Commit 60f5d6ef authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik
Browse files

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: default avatarTejun Heo <tj@kernel.org>
Reported-by: default avatarStefan Hübner <stefan.huebner@stud.tu-ilmenau.de>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent d26377b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment