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>
This commit is contained in:

committed by
Mike Marshall

parent
d57521a653
commit
3c9cf98d7b
@@ -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",
|
||||
|
Reference in New Issue
Block a user