Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188625
b: refs/heads/master
c: cfea1cf
h: refs/heads/master
i:
  188623: b977ebc
v: v3
  • Loading branch information
Sage Weil committed Nov 20, 2009
1 parent 681b9c7 commit 14b060c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b9bfb93ce2b1ef668254f0b9e16fcc5246d65d8e
refs/heads/master: cfea1cf42b614583c02727d5bffd5a2384e92bda
2 changes: 1 addition & 1 deletion trunk/fs/ceph/ceph_hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ unsigned ceph_str_hash_linux(const char *str, unsigned length)
unsigned long hash = 0;
unsigned char c;

while (length-- > 0) {
while (length--) {
c = *str++;
hash = (hash + (c << 4) + (c >> 4)) * 11;
}
Expand Down

0 comments on commit 14b060c

Please sign in to comment.