diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2018-04-12 18:21:49 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-04-12 18:21:49 -0700 |
commit | 5c27031002e0f42374391fc637cd1f74dc3dc90d (patch) | |
tree | f08d21025c58934185e0393bd76f4e92674b5678 | |
parent | 6230ae3c42cb8f449fdb6bb668674c2c2060be3b (diff) | |
parent | ce0786116c36c93cf838417d1b8c426f8a4a603b (diff) |
Merge "sdcardfs: Fix sdcardfs to stop creating cases-sensitive duplicate entries."
-rw-r--r-- | fs/sdcardfs/sdcardfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sdcardfs/sdcardfs.h b/fs/sdcardfs/sdcardfs.h index f0607a55441d..055e413509e4 100644 --- a/fs/sdcardfs/sdcardfs.h +++ b/fs/sdcardfs/sdcardfs.h @@ -669,7 +669,7 @@ static inline bool str_n_case_eq(const char *s1, const char *s2, size_t len) static inline bool qstr_case_eq(const struct qstr *q1, const struct qstr *q2) { - return q1->len == q2->len && str_case_eq(q1->name, q2->name); + return q1->len == q2->len && str_n_case_eq(q1->name, q2->name, q2->len); } #define QSTR_LITERAL(string) QSTR_INIT(string, sizeof(string)-1) |