I'm having a similar problem with 2.2.6 and Windows XP.
I opened ticket 25972.
Details Summary, see the ticket for complete info:
I have a directory with 166 files. If I run a ls | tee ~/t.1 | wc a couple
of times I get different number of files. I extracted the files that where
missing and
I have an odd problem with a smb mounted directory to a Windows XP machine.
If I mount a filesystem from the XP machine on my linux box and
repeatedly do a ls -l or a find ./ -print sometimes
some files are missing from the listing.
I tried this with both 2.2.3a and 2.2.6. I'm Using WindowsXP and