aboutsummaryrefslogtreecommitdiffstats
path: root/fs/orangefs/dcache.c
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-03-15 11:28:20 -0400
committerMike Marshall <hubcap@omnibond.com>2016-03-23 17:36:14 -0400
commit3c9cf98d7b4f27e4303ea6e67db7f0c343a575b6 (patch)
tree88e392fbcce753bc8770b8b70c779ba4be4d2d09 /fs/orangefs/dcache.c
parentorangefs: remove inode->i_lock wrapper (diff)
downloadlinux-dev-3c9cf98d7b4f27e4303ea6e67db7f0c343a575b6.tar.xz
linux-dev-3c9cf98d7b4f27e4303ea6e67db7f0c343a575b6.zip
orangefs: rename orangefs_inode_getattr to orangefs_inode_old_getattr
This is motivated by orangefs_inode_old_getattr's habit of writing over live inodes. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/orangefs/dcache.c b/fs/orangefs/dcache.c
index 2de92b71d861..cc5487a1d040 100644
--- a/fs/orangefs/dcache.c
+++ b/fs/orangefs/dcache.c
@@ -117,7 +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_getattr(dentry->d_inode,
+ ret = orangefs_inode_old_getattr(dentry->d_inode,
ORANGEFS_ATTR_SYS_TYPE|ORANGEFS_ATTR_SYS_LNK_TARGET, 1);
if (ret < 0) {
gossip_debug(GOSSIP_DCACHE_DEBUG, "%s:%s:%d getattr failure.\n",