Author: kib Date: Sat Jan 19 06:37:12 2013 New Revision: 245664 URL: http://svnweb.freebsd.org/changeset/base/245664
Log: MFC r245409: For zfs vnodes, use the standard inode number based hash algorithm. Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/cddl/contrib/opensolaris/ (props changed) Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c ============================================================================== --- stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c Sat Jan 19 06:34:41 2013 (r245663) +++ stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c Sat Jan 19 06:37:12 2013 (r245664) @@ -2026,6 +2026,8 @@ zfs_vget(vfs_t *vfsp, ino_t ino, int fla err = zfs_vnode_lock(*vpp, flags); if (err != 0) *vpp = NULL; + else + (*vpp)->v_hash = ino; return (err); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"