if (!inode || !(inode->i_state & I_NEW))
return inode;
- error = orangefs_inode_old_getattr(inode,
- ORANGEFS_ATTR_SYS_ALL_NOHINT_NOSIZE, 0);
+ error = orangefs_inode_getattr(inode, 1, 0);
if (error) {
iget_failed(inode);
return ERR_PTR(error);
orangefs_set_inode(inode, ref);
inode->i_ino = hash; /* needed for stat etc */
- error = orangefs_inode_old_getattr(inode,
- ORANGEFS_ATTR_SYS_ALL_NOHINT_NOSIZE, 0);
+ error = orangefs_inode_getattr(inode, 1, 0);
if (error)
goto out_iput;