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)
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

diff --cc fs/cifs/dir.c
Simple merge