aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe/aoecmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/aoe/aoecmd.c')
-rw-r--r--drivers/block/aoe/aoecmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c
index 92b6d7c51e39..5efed089a702 100644
--- a/drivers/block/aoe/aoecmd.c
+++ b/drivers/block/aoe/aoecmd.c
@@ -928,7 +928,7 @@ bufinit(struct buf *buf, struct request *rq, struct bio *bio)
928 buf->resid = bio->bi_size; 928 buf->resid = bio->bi_size;
929 buf->sector = bio->bi_sector; 929 buf->sector = bio->bi_sector;
930 bio_pageinc(bio); 930 bio_pageinc(bio);
931 buf->bv = bv = &bio->bi_io_vec[bio->bi_idx]; 931 buf->bv = bv = bio_iovec(bio);
932 buf->bv_resid = bv->bv_len; 932 buf->bv_resid = bv->bv_len;
933 WARN_ON(buf->bv_resid == 0); 933 WARN_ON(buf->bv_resid == 0);
934} 934}