From: Martin Brandenburg Date: Tue, 25 Apr 2017 19:37:58 +0000 (-0400) Subject: orangefs: do not set getattr_time on orangefs_lookup X-Git-Tag: v4.12-rc1~89^2~13 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=17930b252cd6f31163c259eaa99dd8aa630fb9ba;p=karo-tx-linux.git orangefs: do not set getattr_time on orangefs_lookup Since orangefs_lookup calls orangefs_iget which calls orangefs_inode_getattr, getattr_time will get set. Signed-off-by: Martin Brandenburg Cc: stable@vger.kernel.org Signed-off-by: Mike Marshall --- diff --git a/fs/orangefs/namei.c b/fs/orangefs/namei.c index a290ff6ec756..7c315938e9c2 100644 --- a/fs/orangefs/namei.c +++ b/fs/orangefs/namei.c @@ -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",