remove useless tolower in isofs

Remove useless tolower in isofs

Signed-off-by: dave young <[email protected]>
Acked-by: Pekka Enberg <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
young dave 2007-07-15 23:40:17 -07:00 • committed by Linus Torvalds
commit f17e121fd0

View file

@ -197,7 +197,7 @@ isofs_hashi_common(struct dentry *dentry, struct qstr *qstr, int ms)
hash = init_name_hash();
while (len--) {
c = tolower(*name++);
hash = partial_name_hash(tolower(c), hash);
hash = partial_name_hash(c, hash);
}
qstr->hash = end_name_hash(hash);