diff options
author | Martin Brandenburg <martin@omnibond.com> | 2017-04-25 15:37:58 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-20 14:28:39 +0200 |
commit | 63907bb781e730e54dde7a8d0f93af72264ece19 (patch) | |
tree | e17429a2ac11e4f8aa8b63aea2ddfc2405f0d9cd /fs | |
parent | 59f496104112ccea4e55ad10e248301460054cc8 (diff) |
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')
-rw-r--r-- | fs/orangefs/namei.c | 2 |
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", |