/* Mark the inode as not needing to be unlocked when the inode item's IOP_UNLOCK() routine is called. The inode must already be locked and associated with the given transaction.  */
void xfs_trans_ihold(xfs_trans_t *tp, xfs_inode_t *ip)
/* Mark the inode as not needing to be unlocked when the inode item's IOP_UNLOCK() routine is called. The inode must already be locked and associated with the given transaction.  */
void xfs_trans_ihold(xfs_trans_t *tp, xfs_inode_t *ip)
{
	ASSERT(ip->i_transp == tp);
	ASSERT(ip->i_itemp != NULL);
	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
	ip->i_itemp->ili_flags |= XFS_ILI_HOLD;
}