From: Miklos Szeredi Date: Fri, 6 Jan 2006 08:19:38 +0000 (-0800) Subject: [PATCH] fuse: support caching negative dentries X-Git-Tag: v2.6.16-rc1~936^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cbdf1e6f6876b37d2a0d96fd15ea9f90f7d51c1;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed