Skip to content

Commit

Permalink
orangefs: do not set getattr_time on orangefs_lookup
Browse files Browse the repository at this point in the history
Since orangefs_lookup calls orangefs_iget which calls
orangefs_inode_getattr, getattr_time will get set.

Signed-off-by: Martin Brandenburg <[email protected]>
Cc: [email protected]
Signed-off-by: Mike Marshall <[email protected]>
  • Loading branch information
Martin Brandenburg authored and hubcapsc committed Apr 26, 2017
1 parent e675c5e commit 17930b2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/orangefs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,6 @@ static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry,
goto out;
}

ORANGEFS_I(inode)->getattr_time = jiffies - 1;

gossip_debug(GOSSIP_NAME_DEBUG,
"%s:%s:%d "
"Found good inode [%lu] with count [%d]\n",
Expand Down

0 comments on commit 17930b2

Please sign in to comment.