From: Miklos Szeredi Date: Fri, 6 Jan 2006 08:19:43 +0000 (-0800) Subject: [PATCH] fuse: check file type in lookup X-Git-Tag: v2.6.16-rc1~936^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39ee059affaf57a152c64cd3a0adc3f48f02ed71;p=pandora-kernel.git [PATCH] fuse: check file type in lookup Previously invalid types were quietly changed to regular files, but at revalidation the inode was changed to bad. This was rather inconsistent behavior. Now check if the type is valid on initial lookup, and return -EIO if not. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed