tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: WAPBL leaks vnodes on mount error

On Wed, Dec 22, 2010 at 12:41:23PM +0000, Michael van Elst wrote:
 > [...]
 > There are other places in the WAPBL code (and one in UFS1 dealing with
 > extended attributes) that get vnodes during a mount operation. While
 > I haven't seen crashes from this it is likely that such vnodes are
 > never freed.
 > There should probably be a general 'free all vnodes from mountpoint'
 > operation in the mount syscall error path.

Yes, there should. (This both fixes the general problem in one place,
and avoids introducing a lot of new uses of vgone to complicate the
vnode lifecycle mess.)

David A. Holland

Home | Main Index | Thread Index | Old Index