cifs: fix dentry hash calculation for case-insensitive mounts
authorJeff Layton <jlayton@redhat.com>
Fri, 5 Feb 2010 18:30:36 +0000 (13:30 -0500)
committerSteve French <sfrench@us.ibm.com>
Mon, 8 Feb 2010 17:52:34 +0000 (17:52 +0000)
commit05507fa2ac8d5e503bcf33ee43329449027d9060
tree67c0ca8e766d07c5ef4d7a40515d4bf494560b25
parentccd4bb1beb3316de4611de24d223ad761b5a7e95
cifs: fix dentry hash calculation for case-insensitive mounts

case-insensitive mounts shouldn't use full_name_hash(). Make sure we
use the parent dentry's d_hash routine when one is set.

Reported-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/readdir.c