diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-01-06 03:19:38 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:55 -0500 |
commit | 8cbdf1e6f6876b37d2a0d96fd15ea9f90f7d51c1 (patch) | |
tree | 03633d1c84e651b2e9fafda1159847a05b89b0b2 /fs/affs/amigaffs.c | |
parent | de5f12025572ef8fcffa4be5453061725acfb754 (diff) |
[PATCH] fuse: support caching negative dentries
Add support for caching negative dentries.
Up till now, ->d_revalidate() always forced a new lookup on these. Now let
the lookup method return a zero node ID (not used for anything else) meaning a
negative entry, but with a positive cache timeout. The old way of signaling
negative entry (replying ENOENT) still works.
Userspace should check the ABI minor version to see whether sending a zero ID
is allowed by the kernel or 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/affs/amigaffs.c')
0 files changed, 0 insertions, 0 deletions