projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4299b0
)
ANDROID: sdcardfs: correct order of descriptors
author
Daniel Rosenberg
<drosen@google.com>
Tue, 21 Mar 2017 23:28:27 +0000
(16:28 -0700)
committer
Daniel Rosenberg
<drosen@google.com>
Tue, 30 Jan 2018 03:40:06 +0000
(19:40 -0800)
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug:
35331000
Change-Id: Ia6d16b19c8c911f41231d2a12be0740057edfacf
fs/sdcardfs/packagelist.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/sdcardfs/packagelist.c
b/fs/sdcardfs/packagelist.c
index 2cc076ca85de0e4745d6eb5af333bee100cc5fe1..7abfeb124fc2ddd042c9b2bfd70ca9c694136fb0 100644
(file)
--- a/
fs/sdcardfs/packagelist.c
+++ b/
fs/sdcardfs/packagelist.c
@@
-48,6
+48,7
@@
static struct kmem_cache *hashtable_entry_cachep;
static unsigned int full_name_case_hash(const void *salt, const unsigned char *name, unsigned int len)
{
unsigned long hash = init_name_hash(salt);
+
while (len--)
hash = partial_name_hash(tolower(*name++), hash);
return end_name_hash(hash);