Subject: Re: mount_mfs (with mount_null) won't reclaim space
To: Bill Studenmund <wrstuden@netbsd.org>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: tech-kern
Date: 03/19/2002 11:53:00
Bill Studenmund <wrstuden@netbsd.org> writes:

> Does it? Last time I looked, the code which checks usage count (and does
> nothing if the usage count is > 1) is in miscfs/specfs/spec_vnops.c in the
> close routine, specifically spec_close(). With a vcount() that ignores
> upper-layered vnodes (like the ones we have now), this count will be only
> that of the lower node, which in this case only has the one reference from
> the upper node.

Hmm. I've misread the code.

enami.