freebsd-dev/sys/contrib/openzfs/module
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
..
avl ZFS: MFV 2.0-rc1-gfd20a8 2020-09-04 22:25:14 +00:00
icp
lua ZFS: MFV 2.0-rc1-ga00c61 2020-08-28 18:53:45 +00:00
nvpair ZFS: MFV 2.0-rc1-gfd20a8 2020-09-04 22:25:14 +00:00
os Do not copy vp into f_data for DTYPE_VNODE files. 2020-09-15 21:55:21 +00:00
spl
unicode
zcommon ZFS: MFV 2.0-rc1-ga00c61 2020-08-28 18:53:45 +00:00
zfs ZFS: MFV 2.0-rc1-gfd20a8 2020-09-04 22:25:14 +00:00
zstd ZFS: MFV 2.0-rc1-ga00c61 2020-08-28 18:53:45 +00:00
.gitignore
Kbuild.in
Makefile.bsd ZFS: MFV 2.0-rc1-ga00c61 2020-08-28 18:53:45 +00:00
Makefile.in