<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, Aug 13, 2018 at 11:58 PM Nir Soffer <<a href="mailto:nsoffer@redhat.com">nsoffer@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, Aug 13, 2018 at 8:44 PM Eric Blake <<a href="mailto:eblake@redhat.com" target="_blank">eblake@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>   #ifdef FALLOC_FL_ZERO_RANGE<br>
> -  r = do_fallocate (h->fd, FALLOC_FL_ZERO_RANGE, offset, count);<br>
> -  if (r == -1 && errno != EOPNOTSUPP) {<br>
> -    nbdkit_error ("zero: %m");<br>
> +  if (h->can_zero_range) {<br>
> +    r = do_fallocate (h->fd, FALLOC_FL_ZERO_RANGE, offset, count);<br>
> +    if (r== 0)<br>
<br>
Spacing is off.<br></blockquote></div></div></blockquote><div><br></div><div>It does look off in my mail client (inbox), but looks fine (2 spaces indentation)</div><div>in my editor.</div><div><br></div><div>Nir</div></div></div>