git: vfsops - add two new ops, ncpgen_set, ncpgen_test

Alex Hornung alexh at crater.dragonflybsd.org
Mon Mar 5 14:09:08 PST 2012


commit 75779c3c82c251022c12651138d895e6e637633f
Author: Alex Hornung <ahornung at gmail.com>
Date:   Mon Mar 5 21:52:44 2012 +0000

    vfsops - add two new ops, ncpgen_set, ncpgen_test
    
     * ncpgen_set takes care of setting the namecache generation in an ncp,
       while ncpgen_test can force zapping a resolved negative cache hit.
    
     * Make use of the functions in devfs to keep the functionality we had
       before.
    
     * Also pass the calls through in nullfs - this should fix a problem
       with posix_openpt when /dev is a nullfs mount of devfs.
    
    Reported-by: Markus Pfeiffer (profmakx)

Summary of changes:
 sys/kern/vfs_cache.c         |    5 ++---
 sys/kern/vfs_default.c       |   10 ++++++++++
 sys/kern/vfs_init.c          |   10 ++++++++++
 sys/sys/mount.h              |   10 ++++++++++
 sys/vfs/devfs/devfs_vfsops.c |   16 +++++++++++++++-
 sys/vfs/nullfs/null_vfsops.c |   20 ++++++++++++++++++++
 6 files changed, 67 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/75779c3c82c251022c12651138d895e6e637633f


-- 
DragonFly BSD source repository





More information about the Commits mailing list