A Linux dev found a problem in the FPSyncDir patch you added back in September to netatalk. Apparently, the function never calls "closedir()" and could lead to problems.
The netatalk devs have committed the change to netatalk 2.0.4 unreleased version this past December. You can see the details here :
Reference to your patch from September :
"Revision 3794 - Directory Listing
Modified Tue Sep 9 21:41:09 2008 UTC (4 months, 2 weeks ago) by votdev
Add AFP3.2 (FPSyncDir) support to netatalk. Code has been taken from http://marc.info/?l=netatalk-devel&m=121084448214854&w=2"