cvs commit: src/sys/fs/pseudofs pseudofs_vncache.c
    Dag-Erling Smørgrav 
    des at des.no
       
    Tue Aug 17 05:42:37 PDT 2004
    
    
  
Alfred Perlstein <alfred at freebsd.org> writes:
> Maybe I'm missing some external references that can reactivate them?
If someone tries to access the file while it is being removed,
pfs_vncache_alloc() will create a new vnode since the old one is no
longer in the cache, and possibly overwrite the vnode pointer in the
pfs_node before the old vnode is released, leading to a leaked vnode.
> If so those could be prevented by flagging the node.
You're right, I didn't think of that.
DES
-- 
Dag-Erling Smørgrav - des at des.no
    
    
More information about the cvs-all
mailing list