projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwif...
[firefly-linux-kernel-4.4.55.git]
/
fs
/
ext3
/
hash.c
diff --git
a/fs/ext3/hash.c
b/fs/ext3/hash.c
index d10231ddcf8aa9058d6849a66c855c7fa901b46e..ede315cdf12614ba0520500aac39583083a2034e 100644
(file)
--- a/
fs/ext3/hash.c
+++ b/
fs/ext3/hash.c
@@
-198,8
+198,8
@@
int ext3fs_dirhash(const char *name, int len, struct dx_hash_info *hinfo)
return -1;
}
hash = hash & ~1;
- if (hash == (EXT3_HTREE_EOF << 1))
- hash = (EXT3_HTREE_EOF
-
1) << 1;
+ if (hash == (EXT3_HTREE_EOF
_32BIT
<< 1))
+ hash = (EXT3_HTREE_EOF
_32BIT -
1) << 1;
hinfo->hash = hash;
hinfo->minor_hash = minor_hash;
return 0;