cvs commit: src/sys/kern vfs_cache.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Jun 19 23:25:00 PDT 2007
dillon 2007/06/19 23:23:24 PDT
DragonFly src repository
Modified files:
sys/kern vfs_cache.c
Log:
Fix an issue with positive namecache timeouts. Locked children often
depend on the resolved vnode in the parent ncp's remaining intact, but
the positive namecache timeout code broke that rule and caused certain
VFS functions which depend on an intact parent (rename & remove primarily)
to occassionally return EPERM. Only zap the node if it has no children.
Reported-by: Thomas Nikolajsen <thomas.nikolajsen at mail.dk>
Revision Changes Path
1.83 +6 -2 src/sys/kern/vfs_cache.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_cache.c.diff?r1=1.82&r2=1.83&f=u
More information about the Commits
mailing list