[PATCH 4/5] orangefs: do not invalidate attribute cache on setattr

From: Martin Brandenburg
Date: Tue Nov 28 2017 - 15:23:24 EST


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.0