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

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


commit adde5d01555de8b7c6768a39febce4c9d112d295
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/adde5d01555de8b7c6768a39febce4c9d112d295


-- 
DragonFly BSD source repository





More information about the Commits mailing list