freebsd-dev/sys/fs
Konstantin Belousov 96474d2a3f Do not copy vp into f_data for DTYPE_VNODE files.
The pointer to vnode is already stored into f_vnode, so f_data can be
reused.  Fix all found users of f_data for DTYPE_VNODE.

Provide finit_vnode() helper to initialize file of DTYPE_VNODE type.

Reviewed by:	markj (previous version)
Discussed with:	freqlabs (openzfs chunk)
Tested by:	pho (previous version)
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D26346
2020-09-15 21:55:21 +00:00
..
autofs fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
cd9660 fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
cuse fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
deadfs
devfs fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
ext2fs fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
fdescfs fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
fifofs fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
fuse fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
mntfs
msdosfs fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
nfs Do not copy vp into f_data for DTYPE_VNODE files. 2020-09-15 21:55:21 +00:00
nfsclient fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
nfsserver Fix a case where the NFSv4.0 server might crash if delegations are enabled. 2020-09-14 00:44:50 +00:00
nullfs fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
procfs fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
pseudofs vfs: remove the thread argument from vget 2020-08-16 17:18:54 +00:00
smbfs fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
tmpfs tmpfs: drop spurious cache_purge in tmpfs_reclaim 2020-09-04 19:30:15 +00:00
udf fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00
unionfs fs: clean up empty lines in .c and .h files 2020-09-01 21:18:40 +00:00