Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9190c8
)
Fix stupid bug; dx_hack_hash was left-shifted by one in CPP macro
author
Theodore Ts'o
<tytso@mit.edu>
Tue, 12 Mar 2002 18:41:31 +0000
(13:41 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 12 Mar 2002 18:41:31 +0000
(13:41 -0500)
trap.
lib/ext2fs/dirhash.c
patch
|
blob
|
history
diff --git
a/lib/ext2fs/dirhash.c
b/lib/ext2fs/dirhash.c
index
5f71c6d
..
87e86d9
100644
(file)
--- a/
lib/ext2fs/dirhash.c
+++ b/
lib/ext2fs/dirhash.c
@@
-26,7
+26,7
@@
static ext2_dirhash_t dx_hack_hash (const char *name, int len)
hash1 = hash0;
hash0 = hash;
}
- return
hash0
;
+ return
(hash0 << 1)
;
}
/*