diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-01-06 00:19:38 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 08:33:55 -0800 |
commit | 8cbdf1e6f6876b37d2a0d96fd15ea9f90f7d51c1 (patch) | |
tree | 03633d1c84e651b2e9fafda1159847a05b89b0b2 /fs/fifo.c | |
parent | de5f12025572ef8fcffa4be5453061725acfb754 (diff) | |
download | blackbird-op-linux-8cbdf1e6f6876b37d2a0d96fd15ea9f90f7d51c1.tar.gz blackbird-op-linux-8cbdf1e6f6876b37d2a0d96fd15ea9f90f7d51c1.zip |
[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/fifo.c')
0 files changed, 0 insertions, 0 deletions