Messages in this thread Patch in this message | | | Date | Mon, 16 Oct 2006 18:27:17 +0200 | From | Miklos Szeredi <> | Subject | [patch 08/12] 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 <miklos@szeredi.hu>
--- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |