From: OGAWA Hirofumi Date: Thu, 6 Nov 2008 20:53:52 +0000 (-0800) Subject: fat: Kill d_invalidate() in vfat_lookup() X-Git-Tag: v2.6.28-rc4~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c13a243a461dd5b089d29e5d57f260c990e462c;p=pandora-kernel.git fat: Kill d_invalidate() in vfat_lookup() d_invalidate() for positive dentry doesn't work in some cases (vfsmount, nfsd, and maybe others). shrink_dcache_parent() by d_invalidate() is pointless for vfat usage at all. So, this kills it, and intead of it uses d_move(). To save old behavior, this returns alias simply for directory (don't change pwd, etc..). the directory lookup shouldn't be important for performance. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed