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)
committerSteve French <smfrench@gmail.com>
Sun, 8 Sep 2013 19:38:08 +0000 (14:38 -0500)
commitec71e0e15937ae3d0d8342b564c63649b23afa3a
tree7cd0cf52ae40771c27ed785c93d26ce316013ef7
parentc2ccf53dd0ddf0b48e68206c1abb99536851c7b2
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>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/dir.c