freebsd-dev/sys/cddl/contrib/opensolaris/uts/common
Andriy Gapon 886dbd270f zfs: move vnode creation from zfs_znode_cache_constructor to zfs_znode_alloc
All other places where a znode is allocated do not need z_vnode at all.
These are:
- zfs_create_share_dir
- zfs_create_fs

This chnage ensures two things:
- VN_LOCK_ASHARE is not erroneously called for VFIFO vnodes
- vn_lock is called on a fully constructed vnode with correct v_ops

The change also allows to make zfs_znode_cache_constructor a normal
kmem_cache constructor again (as it is in upstream).
This allows to avoid a problem where zfs_znode_cache_destructor
may be called on un-constructed znodes.

MFC after:	17 days
2013-07-24 09:15:59 +00:00
..
ctf
dtrace dtrace/fasttrap: install hook functions only after all data is 2013-07-09 09:05:00 +00:00
fs zfs: move vnode creation from zfs_znode_cache_constructor to zfs_znode_alloc 2013-07-24 09:15:59 +00:00
os Finally... Import the latest open-source ZFS version - (SPA) 28. 2011-02-27 19:41:40 +00:00
sys MFV r251626: 2013-06-11 19:35:44 +00:00
zmod - rename atomic.S and crc32.c to avoid collisions when linking zfs in to the kernel 2009-05-09 01:45:55 +00:00
Makefile.files MFV r247580: 2013-03-19 12:51:18 +00:00