Date: Sat, 11 Jul 2015 01:08:02 +0200 From: Mateusz Guzik <mjguzik@gmail.com> To: kib@freebsd.org Cc: freebsd-fs@freebsd.org Subject: [PATCH 0/2] start consolidatin code manipulating fd_*dir vnodes Message-ID: <1436569684-3939-1-git-send-email-mjguzik@gmail.com>
next in thread | raw e-mail | index | archive | help
From: Mateusz Guzik <mjg@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1436569684-3939-1-git-send-email-mjguzik>