[PATCH 0/2] start consolidatin code manipulating fd_*dir vnodes
Mateusz Guzik
mjguzik at gmail.com
Fri Jul 10 23:08:11 UTC 2015
From: Mateusz Guzik <mjg at freebsd.org>
Primary purpose is to ease future work implementing a copy-on-write struct
for fd_*dir vnodes.
IMHO even if that idea turns out to be bad/rejected after all, these
patches provide a cleanup which should be done regardless, especially the
second one. It can be modified later to warn, and eventually panic, as the
condition it tests for should not realistically be present.
Mateusz Guzik (2):
Move chdir/chroot-related fdp manipulation to kern_descrip.c
Create a dedicated function for ensuring that cdir and rdir are
populated.
sys/cam/ctl/ctl_backend_block.c | 13 +--
.../compat/opensolaris/kern/opensolaris_kobj.c | 13 +--
sys/cddl/compat/opensolaris/sys/vnode.h | 13 +--
sys/compat/ndis/subr_ndis.c | 5 +-
sys/compat/svr4/svr4_misc.c | 2 +-
sys/dev/xen/blkback/blkback.c | 13 +--
sys/kern/kern_descrip.c | 107 +++++++++++++++++++++
sys/kern/kern_jail.c | 2 +-
sys/kern/subr_firmware.c | 13 +--
sys/kern/vfs_syscalls.c | 96 +-----------------
sys/sys/filedesc.h | 5 +
sys/sys/vnode.h | 1 -
sys/ufs/ffs/ffs_alloc.c | 10 +-
13 files changed, 126 insertions(+), 167 deletions(-)
--
2.4.5
More information about the freebsd-fs
mailing list