/* Increment the pin count of the given buffer. This value is protected by ipinlock spinlock in the mount structure.  */
void xfs_ipin(xfs_inode_t *ip)
/* Increment the pin count of the given buffer. This value is protected by ipinlock spinlock in the mount structure.  */
void xfs_ipin(xfs_inode_t *ip)
{
	ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
	atomic_inc(&ip->i_pincount);
}