/* All we do is set the XFS_BLI_INODE_BUF flag in the buffer's log format structure so that we'll know what to do at recovery time.  */
void xfs_trans_inode_buf(xfs_trans_t *tp, xfs_buf_t *bp)
/* All we do is set the XFS_BLI_INODE_BUF flag in the buffer's log format structure so that we'll know what to do at recovery time.  */
void xfs_trans_inode_buf(xfs_trans_t *tp, xfs_buf_t *bp)
{
	xfs_buf_log_item_t	*bip;
	ASSERT(XFS_BUF_ISBUSY(bp));
	ASSERT(XFS_BUF_FSPRIVATE2(bp, xfs_trans_t *) == tp);
	ASSERT(XFS_BUF_FSPRIVATE(bp, void *) != NULL);
	bip = XFS_BUF_FSPRIVATE(bp, xfs_buf_log_item_t *);
	ASSERT(atomic_read(&bip->bli_refcount) > 0);
	bip->bli_format.blf_flags |= XFS_BLI_INODE_BUF;
}