jfs: dont overwrite dentry name in d_revalidate
authorNick Piggin <npiggin@kernel.dk>
Fri, 7 Jan 2011 06:49:25 +0000 (17:49 +1100)
committerNick Piggin <npiggin@kernel.dk>
Fri, 7 Jan 2011 06:50:18 +0000 (17:50 +1100)
commit2bc334dcc7c77be3700dd443d92a78603f76976b
tree51c666a438263f09efdea8a55a6220411ff7f8ab
parent79eb4dde742fe2e9c9e301432b894a7410261ce7
jfs: dont overwrite dentry name in d_revalidate

Use vfat'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>
fs/jfs/namei.c