summaryrefslogtreecommitdiff
path: root/nbd.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-10 15:23:19 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-10 15:23:19 +0000
commit279826619dfb36bac39d8549526a76eabb9d311e (patch)
tree31e7afa5cdb96c7d1fde4031d13d3eea48e998b3 /nbd.h
parentImplement ldxfsr/stxfsr, fix ld(x)fsr masks, convert to TCG (diff)
downloadqemu-kvm-279826619dfb36bac39d8549526a76eabb9d311e.tar.gz
qemu-kvm-279826619dfb36bac39d8549526a76eabb9d311e.tar.bz2
qemu-kvm-279826619dfb36bac39d8549526a76eabb9d311e.zip
qemu-nbd: remove useless parameter from nbd_negotiate() (Laurent Vivier)
This patch removes "BlockDriverState *bs" from nbd_negotiate() because it is not used. Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.fr> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5186 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'nbd.h')
-rw-r--r--nbd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbd.h b/nbd.h
index 55ba1ba01..ede1e746c 100644
--- a/nbd.h
+++ b/nbd.h
@@ -50,7 +50,7 @@ int tcp_socket_incoming(const char *address, uint16_t port);
int unix_socket_outgoing(const char *path);
int unix_socket_incoming(const char *path);
-int nbd_negotiate(BlockDriverState *bs, int csock, off_t size);
+int nbd_negotiate(int csock, off_t size);
int nbd_receive_negotiate(int csock, off_t *size, size_t *blocksize);
int nbd_init(int fd, int csock, off_t size, size_t blocksize);
int nbd_send_request(int csock, struct nbd_request *request);