[PATCH] libata: Setup nbytes in ata_sg_init_one
authorBrian King <brking@us.ibm.com>
Wed, 7 Jun 2006 16:25:31 +0000 (11:25 -0500)
committerJeff Garzik <jeff@garzik.org>
Mon, 12 Jun 2006 03:24:25 +0000 (23:24 -0400)
commit233277cad6dacca6a8e53743641cf43ef7f37c4a
tree06cc72070888f7ec35f3ffb3144b9f3f35eaac24
parentbd5d825c9434b83925a88bd30eb9eef51908a3c9
[PATCH] libata: Setup nbytes in ata_sg_init_one

Setup nbytes in ata_sg_init_one to the total transfer length
of the command. This is needed by some HBAs that need to know
the total transfer length of each command.

Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c