Because those dentries have no backing store. Their sole existance is in
the dentry cache which is normally reclaimable. But we can't reclaim these
dentries because there is nowhere from where they can be reestablished.
Sucky heuristic.
Interesting. Presumably it got reclaimed synchronously somehow.
I guess we should make the generic_setlease() heuristic smarter.
Of course the _reason_ for that heuristic is uncommented and lost in time.
And one wonders what locking prevents it from being totally racy, and if
"none", what happens when the race hits. Sigh.
I suppose a stupid fix would be to set (and later clear) a new flag in
dentry.d_flags which means
this dentry is pinned by a ram-backed device, so d_count==2 means
"unused""
But it would be better to work out exactly what generic_setlease() is
trying to do there, and do it in a better way.
--