[PATCH 1/2] xfsdump: getdents.c: clean up ifdef-hell around sys_getdents
Dave Chinner
david at fromorbit.com
Mon Apr 7 19:33:11 CDT 2014
On Mon, Mar 24, 2014 at 02:19:07PM -0400, Kyle McMartin wrote:
> Remove the ifdef-hell imported from glibc around getdents64. Everything
> since 2.4.1 supports things properly and this seems like a sensible
> clean up, so lets just assume it exists and handle it by falling back
> if not.
>
> Additionally, if the old getdents syscall doesn't exist, just stub out
> the actual syscall and return ENOSYS.
>
> ---
Kyle, these two patches are missing your SOB. I'm going to assume
you wrote this yourself (given the history, it's a fair bet :)
and add them in - let me know if then assumption is wrong so I can
correct it.
Cheers,
Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list