summaryrefslogtreecommitdiff
path: root/fs/orangefs
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2017-04-25 19:37:58 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-20 12:28:39 (GMT)
commit63907bb781e730e54dde7a8d0f93af72264ece19 (patch)
treee17429a2ac11e4f8aa8b63aea2ddfc2405f0d9cd /fs/orangefs
parent59f496104112ccea4e55ad10e248301460054cc8 (diff)
downloadlinux-63907bb781e730e54dde7a8d0f93af72264ece19.tar.xz
orangefs: do not set getattr_time on orangefs_lookup
commit 17930b252cd6f31163c259eaa99dd8aa630fb9ba upstream. Since orangefs_lookup calls orangefs_iget which calls orangefs_inode_getattr, getattr_time will get set. Signed-off-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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",