projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-3.10/core' of git://git.kernel.dk/linux-block
[linux-2.6-block.git]
/
drivers
/
block
/
aoe
/
aoecmd.c
diff --git
a/drivers/block/aoe/aoecmd.c
b/drivers/block/aoe/aoecmd.c
index 92b6d7c51e39590b3780f17c88737009b7becbbf..5efed089a702d501f3b0de2e85997362555d0a09 100644
(file)
--- 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)
buf->resid = bio->bi_size;
buf->sector = bio->bi_sector;
bio_pageinc(bio);
- buf->bv = bv =
&bio->bi_io_vec[bio->bi_idx]
;
+ buf->bv = bv =
bio_iovec(bio)
;
buf->bv_resid = bv->bv_len;
WARN_ON(buf->bv_resid == 0);
}