cvs commit: src/sys/fs/smbfs smbfs_node.c smbfs_node.h
smbfs_vnops.c
Tim J. Robbins
tjr at FreeBSD.org
Mon Feb 9 21:53:03 PST 2004
tjr 2004/02/09 21:53:02 PST
FreeBSD src repository
Modified files:
sys/fs/smbfs smbfs_node.c smbfs_node.h smbfs_vnops.c
Log:
Fixes problems that occurred when a file was removed and a directory
created with the same name, and vice versa:
- Immediately recycle vnodes of files & directories that have been deleted
or renamed.
- When looking an entry in the VFS name cache or smbfs's private
cache, make sure the vnode type is consistent with the type of file
the server thinks it is, and re-create the vnode if it isn't.
The alternative to this is to recycle vnodes unconditionally when their
use count drops to 0, but this would make all the caching we do
mostly useless.
PR: 62342
MFC after: 2 weeks
Revision Changes Path
1.19 +17 -0 src/sys/fs/smbfs/smbfs_node.c
1.6 +1 -0 src/sys/fs/smbfs/smbfs_node.h
1.45 +24 -1 src/sys/fs/smbfs/smbfs_vnops.c
More information about the cvs-src
mailing list