On Mon, Jan 10, 2011 at 11:11:04AM +0000, Juergen Hannken-Illjes wrote:
> Module Name: src
> Committed By: hannken
> Date: Mon Jan 10 11:11:04 UTC 2011
>
> Modified Files:
> src/sys/miscfs/genfs: layer_extern.h layer_vnops.c
> src/sys/miscfs/nullfs: null_vnops.c
> src/sys/miscfs/overlay: overlay_vnops.c
> src/sys/miscfs/umapfs: umap_vnops.c
> src/tests/fs/ptyfs: t_nullpts.c
>
> Log Message:
> Add layer_revoke() that adjusts the lower vnode use count to be at least as
> high as the upper vnode count before passing down the VOP_REVOKE().
>
> This way vclean() check for active (vp->v_usecount > 1) vnodes gets it right.
Randomly changing v_usecount sounds bogus to me?
Probably hiding some other bug somewhere else.
David
--
David Laight: [email protected]