Date: Tue, 23 Jun 2015 06:50:04 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284723 - head/sys/dev/xen/blkfront Message-ID: <201506230650.t5N6o4Lk034982@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cperciva Date: Tue Jun 23 06:50:03 2015 New Revision: 284723 URL: https://svnweb.freebsd.org/changeset/base/284723 Log: Rename mksegarray to xbd_mksegarray for consistency with other function names in this file. Submitted by: royger Modified: head/sys/dev/xen/blkfront/blkfront.c Modified: head/sys/dev/xen/blkfront/blkfront.c ============================================================================== --- head/sys/dev/xen/blkfront/blkfront.c Tue Jun 23 06:48:02 2015 (r284722) +++ head/sys/dev/xen/blkfront/blkfront.c Tue Jun 23 06:50:03 2015 (r284723) @@ -156,7 +156,7 @@ xbd_free_command(struct xbd_command *cm) } static void -mksegarray(bus_dma_segment_t *segs, int nsegs, +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) { @@ -230,7 +230,7 @@ xbd_queue_cb(void *arg, bus_dma_segment_ ring_req->handle = (blkif_vdev_t)(uintptr_t)sc->xbd_disk; ring_req->nr_segments = nsegs; cm->cm_nseg = nsegs; - mksegarray(segs, nsegs, &cm->cm_gref_head, + xbd_mksegarray(segs, nsegs, &cm->cm_gref_head, xenbus_get_otherend_id(sc->xbd_dev), cm->cm_operation == BLKIF_OP_WRITE, cm->cm_sg_refs, ring_req->seg);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506230650.t5N6o4Lk034982>