Re: [PATCH] more autofs4 fixes for 2.3.99-pre5

From: Jeremy Fitzhardinge (jeremy@goop.org)
Date: Fri Apr 14 2000 - 01:40:01 EST


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

-
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/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:23 EST