freebsd-nq/sys/cddl
Konstantin Belousov fe0e9a63e0 Initialize zfs vnode v_hash when the vnode is allocated, instead of
postponing it to zfs_vget().  zfs_root() returned vnode with the
default value of v_hash, which caused inconsistent v_hash value when
root vnode was obtained from zfs_vget().

Nullfs allocated two upper vnodes for the root zfs vnode due to
different hashes, causing consistency problems.

Reported and tested by:	Harald Schmalzbauer <h.schmalzbauer@omnilan.de>
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2014-07-28 14:24:18 +00:00
..
boot/zfs MFV r267565: 2014-07-01 06:43:15 +00:00
compat/opensolaris Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
contrib/opensolaris Initialize zfs vnode v_hash when the vnode is allocated, instead of 2014-07-28 14:24:18 +00:00
dev Use a C wrapper for trap() instead of checking and calling the DTrace trap 2014-07-19 02:27:31 +00:00