[patch 08/12] fuse: minor cleanup in fuse_dentry_revalidate

From: Miklos Szeredi
Date: Mon Oct 16 2006 - 12:31:46 EST


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 <miklos@xxxxxxxxxx>

---
Index: linux/fs/fuse/dir.c
===================================================================
--- linux.orig/fs/fuse/dir.c 2006-10-16 16:21:20.000000000 +0200
+++ linux/fs/fuse/dir.c 2006-10-16 16:21:29.000000000 +0200
@@ -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;

--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/