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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/