From: OGAWA Hirofumi Date: Thu, 6 Nov 2008 20:53:51 +0000 (-0800) Subject: vfat: Fix vfat_find() error path in vfat_lookup() X-Git-Tag: v2.6.28-rc4~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=068f5ae05c51d2cee6b31cb3da06775dd83bd348;p=pandora-kernel.git vfat: Fix vfat_find() error path in vfat_lookup() Current vfat_lookup() creates negetive dentry blindly if vfat_find() returned a error. It's wrong. If the error isn't -ENOENT, just return error. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed