projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e675c5e
)
orangefs: do not set getattr_time on orangefs_lookup
author
Martin Brandenburg
<martin@omnibond.com>
Tue, 25 Apr 2017 19:37:58 +0000
(15:37 -0400)
committer
Mike Marshall
<hubcap@omnibond.com>
Wed, 26 Apr 2017 18:33:00 +0000
(14:33 -0400)
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>
fs/orangefs/namei.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/orangefs/namei.c
b/fs/orangefs/namei.c
index a290ff6ec7569dc3b5eea9ded2df0e8483c49d65..7c315938e9c26b6220880db8bacd275128ae7df4 100644
(file)
--- 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",