summaryrefslogtreecommitdiffstats
path: root/fs/orangefs
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2017-04-25 21:37:58 +0200
committerMike Marshall <hubcap@omnibond.com>2017-04-26 20:33:00 +0200
commit17930b252cd6f31163c259eaa99dd8aa630fb9ba (patch)
tree0c47c67dd068b5ec7ce9829c8f4b1a23cb2b8ef8 /fs/orangefs
parentorangefs: clean up oversize xattr validation (diff)
downloadlinux-17930b252cd6f31163c259eaa99dd8aa630fb9ba.tar.xz
linux-17930b252cd6f31163c259eaa99dd8aa630fb9ba.zip
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 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",