Skip to content

Commit

Permalink
[PATCH] fuse: minor cleanup in fuse_dentry_revalidate
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Miklos Szeredi authored and Linus Torvalds committed Dec 7, 2006
1 parent e9168c1 commit bdcf250
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fs/fuse/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bdcf250

Please sign in to comment.