From: Miklos Szeredi Date: Thu, 7 Dec 2006 04:35:41 +0000 (-0800) Subject: [PATCH] fuse: minor cleanup in fuse_dentry_revalidate X-Git-Tag: v2.6.20-rc1~15^2~14^2~234 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bdcf25080438ba71bb24b885e7c102de72c25c9d;p=platform%2Fkernel%2Flinux-exynos.git [PATCH] fuse: minor cleanup in fuse_dentry_revalidate Remove unneeded code from fuse_dentry_revalidate(). This made some sense while the validity time could wrap around, but now it's a very obvious no-op. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index c71a6c0..677f3ed 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c @@ -141,9 +141,6 @@ static int fuse_dentry_revalidate(struct dentry *entry, struct nameidata *nd) struct fuse_req *forget_req; struct dentry *parent; - /* Doesn't hurt to "reset" the validity timeout */ - fuse_invalidate_entry_cache(entry); - /* For negative dentries, always do a fresh lookup */ if (!inode) return 0;