cifs: convert case-insensitive dentry ops to use new case conversion routines
authorJeff Layton <jlayton@redhat.com>
Thu, 5 Sep 2013 12:38:11 +0000 (08:38 -0400)
committerJeff Layton <jlayton@redhat.com>
Thu, 5 Sep 2013 12:47:35 +0000 (08:47 -0400)
commitf67b268491d15ed1b5c47033e29966f74426eedf
treed58e0e92e9b8d3550e37d19bb6057e06c04cde78
parent0e1e2b926b54b5afb5685794d1c0ddb8eda6536d
cifs: convert case-insensitive dentry ops to use new case conversion routines

Have the case-insensitive d_compare and d_hash routines convert each
character in the filenames to wchar_t's and then use the new
cifs_toupper routine to convert those into uppercase.

With this scheme we should more closely emulate the case conversion that
the servers will do.

Reported-and-Tested-by: Jan-Marek Glogowski <glogow@fbihome.de>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
fs/cifs/dir.c