[PATCH 04/18] orangefs: do not invalidate attribute cache on setattr

From: Martin Brandenburg
Date: Tue Dec 12 2017 - 13:39:43 EST


From: Martin Brandenburg <martin@xxxxxxxxxxxx>

Signed-off-by: Martin Brandenburg <martin@xxxxxxxxxxxx>
---
fs/orangefs/orangefs-utils.c | 4 ----
1 file changed, 4 deletions(-)

diff --git a/fs/orangefs/orangefs-utils.c b/fs/orangefs/orangefs-utils.c
index 97fe93129f38..553b3ded51cd 100644
--- a/fs/orangefs/orangefs-utils.c
+++ b/fs/orangefs/orangefs-utils.c
@@ -437,10 +437,6 @@ int orangefs_inode_setattr(struct inode *inode, struct iattr *iattr)
}

op_release(new_op);
-
- if (ret == 0)
- orangefs_inode->getattr_time = jiffies - 1;
-
return ret;
}

--
2.15.1