看板 DFBSD_commit 關於我們 聯絡資訊
commit 5b4cfb7e2cafb8792350bd0bf8f91934e8035c29 Author: Alex Hornung <ahornung@gmail.com> Date: Wed Mar 24 20:24:05 2010 +0000 cache_fullpath - Guess mountpoints if requested * cache_fullpath (and vn_fullpath) now take an extra parameter, guess, which, if != 0, makes cache_fullpath look for a matching mp if an ncp flagged as a mountpoint is found while traversing upwards. This fixes uses of *_fullpath when no nch is provided, but only a vp. * Change all consumers of cache_fullpath and vn_fullpath to accomodate for the extra parameter. Suggested-by: Matthew Dillon Summary of changes: sys/dev/disk/vn/vn.c | 2 +- .../linux/i386/linprocfs/linprocfs_vnops.c | 12 +++++----- sys/kern/imgact_elf.c | 2 +- sys/kern/imgact_resident.c | 2 +- sys/kern/kern_jail.c | 2 +- sys/kern/vfs_cache.c | 24 +++++++++++++++---- sys/kern/vfs_mount.c | 18 +++++++++++++++ sys/kern/vfs_syscalls.c | 4 +- sys/sys/mount.h | 2 +- sys/sys/namecache.h | 2 +- sys/sys/vnode.h | 2 +- sys/vfs/isofs/cd9660/cd9660_rrip.c | 2 +- sys/vfs/procfs/procfs_vnops.c | 4 +- 13 files changed, 55 insertions(+), 23 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5b4cfb7e2cafb8792350bd0bf8f91934e8035c29 -- DragonFly BSD source repository