Re: more on 2.1.45 mounting/unmounting

Linus Torvalds (torvalds@transmeta.com)
Tue, 15 Jul 1997 11:11:49 -0700 (PDT)


On Tue, 15 Jul 1997, Bill Hawes wrote:
>
> I've noticed from some debugging messages that there seems to be a major
> mismatch between dgets and dputs for root dentries. When I shutdown,
> the root dentry d_count is in the hundreds or thousands, after only a
> few minutes of operation.

Check out -6.

The -6 patch fixes a counter problem when traversing "." or "..", which
resulted in incorrectly incrementing the counters twice. -6 also fixes
unmounting, so it should work out-of-the-box (but only unmounts, not
re-mounts read-only).

Linus