/* Write out inode metadata (attributes) for the whole filesystem.  */
int xfs_sync_attr(struct xfs_mount *mp, int flags)
/* Write out inode metadata (attributes) for the whole filesystem.  */
int xfs_sync_attr(struct xfs_mount *mp, int flags)
{
	ASSERT((flags & ~SYNC_WAIT) == 0);
	return xfs_inode_ag_iterator(mp, xfs_sync_inode_attr, flags,
				     XFS_ICI_NO_TAG, 0);
}