orangefs: do not set getattr_time on orangefs_lookup
authorMartin Brandenburg <martin@omnibond.com>
Tue, 25 Apr 2017 19:37:58 +0000 (15:37 -0400)
committerMike Marshall <hubcap@omnibond.com>
Wed, 26 Apr 2017 18:33:00 +0000 (14:33 -0400)
Since orangefs_lookup calls orangefs_iget which calls
orangefs_inode_getattr, getattr_time will get set.

Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/namei.c

index a290ff6ec7569dc3b5eea9ded2df0e8483c49d65..7c315938e9c26b6220880db8bacd275128ae7df4 100644 (file)
@@ -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",