diff options
author | Tejun Heo <htejun@gmail.com> | 2006-02-20 17:48:38 +0300 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-02-21 00:48:18 +0300 |
commit | 2e242fa994428bd1a40b6a7e97430413246d0a16 (patch) | |
tree | 8ba101ac6b2f9d6e5d14eebb9091d43c9177626c /include | |
parent | cc1887f3d8ae8ea61efa1a75af8ec0467b9dd546 (diff) | |
download | linux-2e242fa994428bd1a40b6a7e97430413246d0a16.tar.xz |
[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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions