diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-01-06 03:19:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:56 -0500 |
commit | 39ee059affaf57a152c64cd3a0adc3f48f02ed71 (patch) | |
tree | d656f8b3eb40cd1019a82d4381bbfa33e6caec8e /fs/fuse/fuse_i.h | |
parent | 6ad84acab972f4dfc78e6fdb04c419f82c497d29 (diff) |
[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 <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/fuse/fuse_i.h')
0 files changed, 0 insertions, 0 deletions