[PATCH] xfsdump: don't assume getdents exists

Kyle McMartin kmcmarti at redhat.com
Sat Mar 22 00:12:05 CDT 2014


On Tue, Dec 10, 2013 at 08:46:08AM -0600, Eric Sandeen wrote:
> Hey Kyle - were you going to do a V2 of this one?
> 
> Just checking, thanks - 

i've got a pair of somewhat more substantial patches to fix the ifdef
hell in this file, clean things up so it works on both getdents64 only
and not, and then rips out the pre-2.4.1 getdents code.

https://github.com/jkkm/xfsdump/commit/e156bcf06effbf5f2e26c53efb0ce028c4281f9e
https://github.com/jkkm/xfsdump/commit/fff56b471220a8fa305b9158c4f8f0c7344c8fe6

the latter looks quite a bit better... care to take a quick look and if
they're decent, i'll submit them both.

--kyle



More information about the xfs mailing list