--- 26test1bk/drivers/block/ll_rw_blk.c Sun Jul 27 07:03:29 2003 +++ 26test1bk/drivers/block/ll_rw_blk.c Sun Jul 27 07:03:59 2003 @@ -2307,8 +2307,8 @@ * not a complete bvec done */ if (unlikely(nbytes > nr_bytes)) { - bio_iovec(bio)->bv_offset += nr_bytes; - bio_iovec(bio)->bv_len -= nr_bytes; + bio_iovec_idx(bio, idx)->bv_offset += nr_bytes; + bio_iovec_idx(bio, idx)->bv_len -= nr_bytes; bio_nbytes += nr_bytes; total_bytes += nr_bytes; break;