git: devfs: Fix namecache invalidation for alias nodes
Francois Tigeot
ftigeot at crater.dragonflybsd.org
Fri Dec 5 11:28:13 PST 2014
commit 9e27c355d85a6965488dd207ed0a9f126b3f1e12
Author: François Tigeot <ftigeot at wolfpond.org>
Date: Fri Dec 5 19:28:57 2014 +0100
devfs: Fix namecache invalidation for alias nodes
* The devfs alias nodes don't have a directly associated vnode, they
use the vnode of their target link.
* Unfortunately, the namecache invalidation code in devfs_freep() only
processed vnodes registered in the devfs_node structure, missing the
aliases.
* Put the namecache invalidation code in devfs_unlinkp() and make sure
devfs alias node entries are properly invalidated.
Summary of changes:
sys/vfs/devfs/devfs_core.c | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9e27c355d85a6965488dd207ed0a9f126b3f1e12
--
DragonFly BSD source repository
More information about the Commits
mailing list