summaryrefslogtreecommitdiffstats
path: root/fs/orangefs
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2017-04-25 15:37:58 -0400
committerMike Marshall <hubcap@omnibond.com>2017-04-26 14:33:00 -0400
commit17930b252cd6f31163c259eaa99dd8aa630fb9ba (patch)
tree0c47c67dd068b5ec7ce9829c8f4b1a23cb2b8ef8 /fs/orangefs
parente675c5ec51fe2554719a7b6bcdbef0a770f2c19b (diff)
downloadop-kernel-dev-17930b252cd6f31163c259eaa99dd8aa630fb9ba.zip
op-kernel-dev-17930b252cd6f31163c259eaa99dd8aa630fb9ba.tar.gz
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 <martin@omnibond.com> Cc: stable@vger.kernel.org Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs')
-rw-r--r--fs/orangefs/namei.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/orangefs/namei.c b/fs/orangefs/namei.c
index a290ff6..7c31593 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",
OpenPOWER on IntegriCloud