Hello, On Wed, Jun 21, 2017 at 10:48:26PM +0800, Greg Kroah-Hartman wrote: > On Mon, Jun 19, 2017 at 01:59:34PM -0400, Tejun Heo wrote: > > So, looks like this is the debugfs automount mechanism changing nlinks > > across automounts and confusing find in the process. Greg? > > That's odd, is find racing with itself here? I don't really know how to > do anything about this in sysfs, as this should happen for any other > filesystem, right? I don't actually know why find gets confused over nlinks changing underneath it. Can't we also automount on the first stat(2) call? Thanks. -- tejun