<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 1, 2015 at 6:31 PM, Darrick J. Wong <span dir="ltr"><<a href="mailto:darrick.wong@oracle.com" target="_blank">darrick.wong@oracle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Sep 01, 2015 at 10:04:32AM +0200, Jan Tulak wrote:<br>
> UPDATE: changed to #define<br>
><br>
> OS X has only nftw variant - not the 64 suffix used in xfs.<br>
><br>
> Signed-off-by: Jan Tulak <<a href="mailto:jtulak@redhat.com">jtulak@redhat.com</a>><br>
> ---<br>
>  include/darwin.h | 2 ++<br>
>  1 file changed, 2 insertions(+)<br>
><br>
> diff --git a/include/darwin.h b/include/darwin.h<br>
> index 72d9c1d..f0f05b3 100644<br>
> --- a/include/darwin.h<br>
> +++ b/include/darwin.h<br>
> @@ -157,6 +157,8 @@ typedef int64_t           xfs_daddr_t;<br>
><br>
>  #define HAVE_FID     1<br>
><br>
> +#define nftw64 nftw<br>
> +<br>
<br>
</span>Sorry for chiming in late, but there's only one caller of nftw64 and several<br>
callers of nftw; why not just change it to use nftw?<br>
<br>
<shrug> There could be other reasons why xfs_estimate requires the -64<br>
variant, but I don't know. :)<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​Good idea. I'll run tests after the change​</div> <div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​and if nothing bad happens, I send</div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">it here.</div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​</div></div></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Jan Tulak<br></div><a href="mailto:jtulak@redhat.com" target="_blank">jtulak@redhat.com</a> / <a href="mailto:jan@tulak.me" target="_blank">jan@tulak.me</a></div></div></div></div>
</div></div>