Module Name: src Committed By: hannken Date: Tue Mar 17 09:38:21 UTC 2015
Modified Files: src/sys/kern: vfs_vnode.c src/sys/sys: mount.h param.h vnode.h Log Message: Add new operation "vcache_new()" to allocate and initialise a new vnode/fsnode pair: int vcache_new(struct mount *mp, struct vnode *dvp, struct vattr *vap, kauth_cred_t cred, struct vnode **vpp) where dvp is the (referenced) directory where we want to create the new node, vap passes va_type, va_mode and possibly va_rdev and cred gives the credentials to setup uid/guid. The node returned from vcache_new() is referenced, fully initialised and has link count zero. Welcome to NetBSD 7.99.7 To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/kern/vfs_vnode.c cvs rdiff -u -r1.215 -r1.216 src/sys/sys/mount.h cvs rdiff -u -r1.466 -r1.467 src/sys/sys/param.h cvs rdiff -u -r1.249 -r1.250 src/sys/sys/vnode.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.