]> git.proxmox.com Git - mirror_qemu.git/commit - block/nbd-client.c
nbd: Drop unused offset parameter
authorEric Blake <eblake@redhat.com>
Fri, 15 Jul 2016 18:32:03 +0000 (12:32 -0600)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 20 Jul 2016 13:11:54 +0000 (14:11 +0100)
commit1e2a77a851b3369799272c8e77c07995a1a2e579
treebee7bd5e7861a104c6b787997a333be0d660eef2
parentfb1a6de14ab353baa4bc3dfb777e662a26045ca9
nbd: Drop unused offset parameter

Now that NBD relies on the block layer to fragment things, we no
longer need to track an offset argument for which fragment of
a request we are actually servicing.

While at it, use true and false instead of 0 and 1 for a bool
parameter.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1468607524-19021-6-git-send-email-eblake@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/nbd-client.c
include/block/nbd.h
nbd/common.c
nbd/nbd-internal.h