summaryrefslogtreecommitdiff
path: root/fs/orangefs/dcache.c
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-03-17 15:15:16 -0400
committerMike Marshall <hubcap@omnibond.com>2016-03-23 17:36:15 -0400
commit5859d77e56e470ba16960befcd948c97a6f62102 (patch)
treeba4c3743738156281a9f43268c787b86e01b2a80 /fs/orangefs/dcache.c
parent8f24928d195fc32a6ba53c2329c5bbcaa59119bc (diff)
orangefs: use new getattr for revalidate and remove old getattr
Signed-off-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/dcache.c')
-rw-r--r--fs/orangefs/dcache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/orangefs/dcache.c b/fs/orangefs/dcache.c
index cc5487a1d040..5dfc4f3cfe68 100644
--- a/fs/orangefs/dcache.c
+++ b/fs/orangefs/dcache.c
@@ -117,8 +117,7 @@ static int orangefs_d_revalidate(struct dentry *dentry, unsigned int flags)
/* Now we must perform a getattr to validate the inode contents. */
- ret = orangefs_inode_old_getattr(dentry->d_inode,
- ORANGEFS_ATTR_SYS_TYPE|ORANGEFS_ATTR_SYS_LNK_TARGET, 1);
+ ret = orangefs_inode_check_changed(dentry->d_inode);
if (ret < 0) {
gossip_debug(GOSSIP_DCACHE_DEBUG, "%s:%s:%d getattr failure.\n",
__FILE__, __func__, __LINE__);