git: DragonFly_RELEASE_3_0 kernel/ufs: Bring in a fix to ufsdirhash_hash() from FreeBSD.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Jun 9 19:35:29 PDT 2012


commit 982ce772656c40ff6a9b037b59d928aea05cb67a
Author: Sascha Wildner <saw at online.de>
Date:   Sun Jun 10 04:31:33 2012 +0200

    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

Summary of changes:
 sys/vfs/ufs/ufs_dirhash.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/982ce772656c40ff6a9b037b59d928aea05cb67a


-- 
DragonFly BSD source repository





More information about the Commits mailing list