aoe: use bio->bi_idx
authorEd L. Cashin <ecashin@coraid.com>
Wed, 20 Sep 2006 18:36:50 +0000 (14:36 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 Oct 2006 19:53:50 +0000 (12:53 -0700)
commit392e4845f9728114f7ffa8d7612683397fd4d441
treefb86e5b7f2a066c9e9458619b746a015e4d2dbe4
parentb751e8b6590efdb76e1682c85bfcd5f3531ccae4
aoe: use bio->bi_idx

Instead of starting with bio->bi_io_vec, use the offset in bio->bi_idx.

Signed-off-by: "Ed L. Cashin" <ecashin@coraid.com>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/block/aoe/aoeblk.c
drivers/block/aoe/aoecmd.c