diff options
author | Martin Brandenburg <martin@omnibond.com> | 2016-03-17 20:15:16 +0100 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-03-23 22:36:15 +0100 |
commit | 5859d77e56e470ba16960befcd948c97a6f62102 (patch) | |
tree | ba4c3743738156281a9f43268c787b86e01b2a80 /fs/orangefs/dcache.c | |
parent | orangefs: use new getattr in inode getattr and permission (diff) | |
download | linux-5859d77e56e470ba16960befcd948c97a6f62102.tar.xz linux-5859d77e56e470ba16960befcd948c97a6f62102.zip |
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.c | 3 |
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__); |