diff options
author | Julien Grall <julien.grall@linaro.org> | 2015-06-17 10:28:07 -0400 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-06-17 11:35:19 -0400 |
commit | ee4b7179fc9bf19fd22f9d17757a86582c40229e (patch) | |
tree | 33fbb11e033759cc17d758905936e0d2e949eec3 /drivers/block | |
parent | db26a68695ad22bed6ca0f9c14572afb807858a8 (diff) |
block/xen-blkfront: Remove invalid comment
Since commit b764915 "xen-blkfront: use a different scatterlist for each
request", biovec has been replaced by scatterlist when copying back the
data during a completion request.
Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/xen-blkfront.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index 5c72c2501627..60cf1d627d23 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c | |||
@@ -1056,12 +1056,6 @@ static void blkif_completion(struct blk_shadow *s, struct blkfront_info *info, | |||
1056 | s->req.u.indirect.nr_segments : s->req.u.rw.nr_segments; | 1056 | s->req.u.indirect.nr_segments : s->req.u.rw.nr_segments; |
1057 | 1057 | ||
1058 | if (bret->operation == BLKIF_OP_READ && info->feature_persistent) { | 1058 | if (bret->operation == BLKIF_OP_READ && info->feature_persistent) { |
1059 | /* | ||
1060 | * Copy the data received from the backend into the bvec. | ||
1061 | * Since bv_offset can be different than 0, and bv_len different | ||
1062 | * than PAGE_SIZE, we have to keep track of the current offset, | ||
1063 | * to be sure we are copying the data from the right shared page. | ||
1064 | */ | ||
1065 | for_each_sg(s->sg, sg, nseg, i) { | 1059 | for_each_sg(s->sg, sg, nseg, i) { |
1066 | BUG_ON(sg->offset + sg->length > PAGE_SIZE); | 1060 | BUG_ON(sg->offset + sg->length > PAGE_SIZE); |
1067 | shared_data = kmap_atomic( | 1061 | shared_data = kmap_atomic( |