[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH 2/2] doc: Consistent spelling of nonzero



On Mon, Nov 06, 2017 at 10:52:32AM -0600, Eric Blake wrote:
> We had both 'nonzero' (since 2012) and 'non-zero' (since the
> merge of extension-info in 2017); avoid the hyphen for consistency.

LGTM, thanks.

(I was going to say "non-zero seems wrong", but apparently it isn't -- but
yeah, consistency is good).

> Signed-off-by: Eric Blake <eblake@redhat.com>
> ---
>  doc/proto.md | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/proto.md b/doc/proto.md
> index 083317f..a4f8b21 100644
> --- a/doc/proto.md
> +++ b/doc/proto.md
> @@ -723,9 +723,9 @@ preferred block size or export size, and SHOULD be at least 2^25
>  than a power of 2.  For convenience, the server MAY advertise a
>  maximum block size that is larger than the export size, although in
>  that case, the client MUST treat the export size as the effective
> -maximum block size (as further constrained by a non-zero offset).
> +maximum block size (as further constrained by a nonzero offset).
> 
> -Where a transmission request can have a non-zero *offset* and/or
> +Where a transmission request can have a nonzero *offset* and/or
>  *length* (such as `NBD_CMD_READ`, `NBD_CMD_WRITE`, or `NBD_CMD_TRIM`),
>  the client MUST ensure that *offset* and *length* are integer
>  multiples of any advertised minimum block size, and SHOULD use integer
> -- 
> 2.13.6
> 
> 

-- 
Could you people please use IRC like normal people?!?

  -- Amaya Rodrigo Sastre, trying to quiet down the buzz in the DebConf 2008
     Hacklab


Reply to: