]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
xen: blkfront: Use struct blkif_request_segment rather than the typedef
authorJulien Grall <julien.grall@citrix.com>
Sun, 4 Oct 2015 18:18:51 +0000 (19:18 +0100)
committerJulien Grall <julien.grall@citrix.com>
Sun, 4 Oct 2015 18:23:24 +0000 (19:23 +0100)
The typedef blkif_request_segment doesn't exist anymore.

sys/dev/xen/blkfront/blkfront.c

index 1416c28192ee4e628107f1c9a442db6736d2cb30..fa8d479331b4fdfc119d56f1d73622f0435cf2dd 100644 (file)
@@ -162,7 +162,7 @@ xbd_free_command(struct xbd_command *cm)
 static void
 xbd_mksegarray(bus_dma_segment_t *segs, int nsegs,
     grant_ref_t * gref_head, int otherend_id, int readonly,
-    grant_ref_t * sg_ref, blkif_request_segment_t * sg)
+    grant_ref_t * sg_ref, struct blkif_request_segment *sg)
 {
        struct blkif_request_segment *last_block_sg = sg + nsegs;
        vm_paddr_t buffer_ma;