From: Alex Bligh Date: Wed, 18 May 2011 18:34:35 +0000 (+0100) Subject: fix documentation of NBD_CMD_FLUSH X-Git-Url: http://git.alex.org.uk fix documentation of NBD_CMD_FLUSH --- diff --git a/doc/proto.txt b/doc/proto.txt index d173365..61c2401 100644 --- a/doc/proto.txt +++ b/doc/proto.txt @@ -34,7 +34,8 @@ header consists a 32 bit magic number (magic), a 32 bit field denoting the request type (see below; 'type'), a 64 bit handle ('handle'), a 64 bit data offset ('from'), and a 32 bit length ('len'). In case of a write request, the header is immediately followed by 'len' bytes of -data. +data. In the case of NBD_CMD_FLUSH, the offset and length are +ignored. The reply contains three fields: a 32 bit magic number ('magic'), a 32 bit error code ('error'; 0, unless an error occurred in which case it is