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 08:28:39 -0400 |
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, | |||
193 | goto out; | 193 | goto out; |
194 | } | 194 | } |
195 | 195 | ||
196 | ORANGEFS_I(inode)->getattr_time = jiffies - 1; | ||
197 | |||
198 | gossip_debug(GOSSIP_NAME_DEBUG, | 196 | gossip_debug(GOSSIP_NAME_DEBUG, |
199 | "%s:%s:%d " | 197 | "%s:%s:%d " |
200 | "Found good inode [%lu] with count [%d]\n", | 198 | "Found good inode [%lu] with count [%d]\n", |