mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
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
This commit is contained in:
parent
63491e82be
commit
9cbe30e1d5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=230143
@ -881,6 +881,7 @@ kern_jail_set(struct thread *td, struct uio *optuio, int flags)
|
||||
}
|
||||
#endif
|
||||
|
||||
fullpath_disabled = 0;
|
||||
root = NULL;
|
||||
error = vfs_getopt(opts, "path", (void **)&path, &len);
|
||||
if (error == ENOENT)
|
||||
|
@ -1291,7 +1291,7 @@ vn_commname(struct vnode *vp, char *buf, u_int buflen)
|
||||
* 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,
|
||||
|
Loading…
Reference in New Issue
Block a user