ANDROID: sdcardfs: correct order of descriptors
Signed-off-by: Daniel Rosenberg <drosen@google.com> Bug: 35331000 Change-Id: Ia6d16b19c8c911f41231d2a12be0740057edfacf
This commit is contained in:
parent
f0faedd6b4
commit
93a520cc3c
1 changed files with 3 additions and 1 deletions
|
@ -48,12 +48,14 @@ static struct kmem_cache *hashtable_entry_cachep;
|
|||
static unsigned int full_name_case_hash(const unsigned char *name, unsigned int len)
|
||||
{
|
||||
unsigned long hash = init_name_hash();
|
||||
|
||||
while (len--)
|
||||
hash = partial_name_hash(tolower(*name++), hash);
|
||||
return end_name_hash(hash);
|
||||
}
|
||||
|
||||
static void inline qstr_init(struct qstr *q, const char *name) {
|
||||
static inline void qstr_init(struct qstr *q, const char *name)
|
||||
{
|
||||
q->name = name;
|
||||
q->len = strlen(q->name);
|
||||
q->hash = full_name_case_hash(q->name, q->len);
|
||||
|
|
Loading…
Add table
Reference in a new issue