Hello,
we've discussed with Jim the issue with mounts triggered during directory
tree traversal and we've decided to make a trade-off for now - enable the
extra stat call only if the FTS_TIGHT_CYCLE_CHECK is set. This means it only
affects find and du for now and leaves other utilities to work as they used
to work before (failing on the triggered mount). I think this is a good
enough temporary solution since we are still waiting for reply from the
kernel guys.
As for the indentation, I've attempted to do my best. Indentation of the
fts_build() has been already broken completely. So please don't shout at me
I screwed it up :-)
Kamil