kernel/ufs: Bring in a fix to ufsdirhash_hash() from FreeBSD.
authorSascha Wildner <saw@online.de>
Sun, 10 Jun 2012 02:31:33 +0000 (04:31 +0200)
committerSascha Wildner <saw@online.de>
Sun, 10 Jun 2012 02:35:14 +0000 (04:35 +0200)
commit982ce772656c40ff6a9b037b59d928aea05cb67a
treed97bebc45915e1f40b4c842563d005d4f6b73926
parent799dfdcbbc9987e013bf08a46da14d769d98ac86
kernel/ufs: Bring in a fix to ufsdirhash_hash() from FreeBSD.

"When looking for some extra data to include in the hash, use the
 address of the dirhash, rather than the first sizeof(struct dirhash *)
 bytes of the structure (which, thankfully, seem to be constant)."

While here, fix some typos in the comment.

In-discussion-with: thesjg, vsrinivas
sys/vfs/ufs/ufs_dirhash.c