]> git.proxmox.com Git - mirror_qemu.git/commit
block/curl: Use BDRV_SECTOR_SIZE
authorMax Reitz <mreitz@redhat.com>
Tue, 25 Oct 2016 02:54:28 +0000 (04:54 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 12 Dec 2016 23:48:44 +0000 (17:48 -0600)
commit6a5ea68e9ef13c02eeb2064a3d093c53a6e31383
tree37d76ff209a5087922cdf568c07a9206fffceade
parent31454ebde5ee8437b4214b8f4cce47755467439a
block/curl: Use BDRV_SECTOR_SIZE

Currently, curl defines its own constant SECTOR_SIZE. There is no
advantage over using the global BDRV_SECTOR_SIZE, so drop it.

Cc: qemu-stable@nongnu.org
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20161025025431.24714-2-mreitz@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
(cherry picked from commit 9054d9f6b00a3f0576b1a7310a3886d1783ad382)

Conflicts:
block/curl.c

* drop context dep on fffb6e1 / aio_bh_schedule_oneshot

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/curl.c