cifs: don't overwrite dentry name in d_revalidate
authorNick Piggin <npiggin@kernel.dk>
Thu, 11 Nov 2010 07:42:16 +0000 (18:42 +1100)
committerSteve French <sfrench@us.ibm.com>
Thu, 6 Jan 2011 19:07:52 +0000 (19:07 +0000)
commit262f86adcc0665872812a7458a5d03e19e0efe33
tree3e54502cfec37e9d86f9e92b40d9bc6d25669b16
parent3c0eee3fe6a3a1c745379547c7e7c904aa64f6d5
cifs: don't overwrite dentry name in d_revalidate

Instead, use fatfs's method for dealing with negative dentries to
preserve case, rather than overwrite dentry name in d_revalidate, which
is a bit ugly and also gets in the way of doing lock-free path walking.

Signed-off-by: Nick Piggin <npiggin@kernel.dk>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/dir.c