From: Miklos Szeredi 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 --- fs/fuse/dir.c | 3 --- 1 files changed, 3 deletions(-) diff -puN fs/fuse/dir.c~fuse-minor-cleanup-in-fuse_dentry_revalidate fs/fuse/dir.c --- a/fs/fuse/dir.c~fuse-minor-cleanup-in-fuse_dentry_revalidate +++ a/fs/fuse/dir.c @@ -140,9 +140,6 @@ static int fuse_dentry_revalidate(struct struct fuse_req *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; _