Date: Sun, 15 Jan 2012 18:08:16 +0000 (UTC) From: Martin Matuska <mm@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r230143 - head/sys/kern Message-ID: <201201151808.q0FI8GA8093954@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mm Date: Sun Jan 15 18:08:15 2012 New Revision: 230143 URL: http://svn.freebsd.org/changeset/base/230143 Log: Fix missing in r230129: kern_jail.c: initialize fullpath_disabled to zero vfs_cache.c: add missing dot in comment Reported by: kib MFC after: 1 month Modified: head/sys/kern/kern_jail.c head/sys/kern/vfs_cache.c Modified: head/sys/kern/kern_jail.c ============================================================================== --- head/sys/kern/kern_jail.c Sun Jan 15 17:04:39 2012 (r230142) +++ head/sys/kern/kern_jail.c Sun Jan 15 18:08:15 2012 (r230143) @@ -881,6 +881,7 @@ kern_jail_set(struct thread *td, struct } #endif + fullpath_disabled = 0; root = NULL; error = vfs_getopt(opts, "path", (void **)&path, &len); if (error == ENOENT) Modified: head/sys/kern/vfs_cache.c ============================================================================== --- head/sys/kern/vfs_cache.c Sun Jan 15 17:04:39 2012 (r230142) +++ head/sys/kern/vfs_cache.c Sun Jan 15 18:08:15 2012 (r230143) @@ -1291,7 +1291,7 @@ vn_commname(struct vnode *vp, char *buf, * vnode is left locked and path remain untouched. * * If vp is a directory, the call to vn_fullpath_global() always succeeds - * because it falls back to the ".." lookup if the namecache lookup fails + * because it falls back to the ".." lookup if the namecache lookup fails. */ int vn_path_to_global_path(struct thread *td, struct vnode *vp, char *path,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201151808.q0FI8GA8093954>