commit | 2e242fa994428bd1a40b6a7e97430413246d0a16 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Mon Feb 20 23:48:38 2006 +0900 |
committer | Jeff Garzik <jgarzik@pobox.com> | Mon Feb 20 16:48:18 2006 -0500 |
tree | 8ba101ac6b2f9d6e5d14eebb9091d43c9177626c | |
parent | cc1887f3d8ae8ea61efa1a75af8ec0467b9dd546 [diff] |
[PATCH] libata: make ata_sg_setup_one() trim zero length sg This patch makes ata_sg_setup_one() trim sg entry (thus making qc->n_elem zero) if padding results in zero length sg entry. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>