XFS_STATS_INC(vn_hold);
- inode = igrab(vn_to_inode(vp));
+ inode = igrab(vp);
ASSERT(inode);
return vp;
*/
static inline int xfs_icount(struct xfs_inode *ip)
{
- bhv_vnode_t *vp = XFS_ITOV_NULL(ip);
+ bhv_vnode_t *vp = VFS_I(ip);
if (vp)
return vn_count(vp);