mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-02-11 01:41:18 +03:00
![]() Per suggestion from @behlendorf in #8777, remove vn_set_fs_pwd() and vn_set_pwd() which are only used in zfs_ioctl.c:_init() while loading zfs.ko. The rest of initialization functions being called here after cwd set to / don't depend on cwd of the process except for spa_config_load(). spa_config_load() uses a relative path ".//etc/zfs/zpool.cache" when `rootdir` is non-NULL, which is "/etc/zfs/zpool.cache" given cwd is /, so just unconditionally use the absolute path without "./", so that `vn_set_pwd("/")` as well as the entire functions can be removed. This is also what FreeBSD does. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com> Closes #8826 |
||
---|---|---|
.. | ||
acl.h | ||
atomic.h | ||
byteorder.h | ||
callb.h | ||
callo.h | ||
cmn_err.h | ||
condvar.h | ||
console.h | ||
cred.h | ||
ctype.h | ||
debug.h | ||
disp.h | ||
dkio.h | ||
errno.h | ||
fcntl.h | ||
file.h | ||
inttypes.h | ||
isa_defs.h | ||
kmem_cache.h | ||
kmem.h | ||
kobj.h | ||
kstat.h | ||
list.h | ||
Makefile.am | ||
mode.h | ||
mutex.h | ||
param.h | ||
proc.h | ||
processor.h | ||
procfs_list.h | ||
random.h | ||
rwlock.h | ||
shrinker.h | ||
sid.h | ||
signal.h | ||
stat.h | ||
strings.h | ||
sunddi.h | ||
sysmacros.h | ||
systeminfo.h | ||
taskq.h | ||
thread.h | ||
time.h | ||
timer.h | ||
tsd.h | ||
types32.h | ||
types.h | ||
uio.h | ||
user.h | ||
vfs.h | ||
vmem.h | ||
vmsystm.h | ||
vnode.h | ||
wait.h | ||
zmod.h | ||
zone.h |