On 14-Apr-2000 Linus Torvalds wrote:
> However, I also wonder what keeps the dentries around?

It is the same as ramfs.  It keeps an extra ref to pin them down, but
only when they're positive dentries.  Negative ones are free to be
collected.

See the line
        ino->dentry = dget(dentry);
in autofs4_dir_mkdir and symlink, and 
        dput(ino->dentry);
in rmdir and unlink.

        J

Reply via email to