/* We only cache a small number of extents stored directly on the inode, so linear order operations are acceptable. If we ever want to increase the size of the extent map, then these algorithms must get smarter.  */
void ocfs2_extent_map_init(struct inode *inode)
/* We only cache a small number of extents stored directly on the inode, so linear order operations are acceptable. If we ever want to increase the size of the extent map, then these algorithms must get smarter.  */
void ocfs2_extent_map_init(struct inode *inode)
{
	struct ocfs2_inode_info *oi = OCFS2_I(inode);
	oi->ip_extent_map.em_num_items = 0;
	INIT_LIST_HEAD(&oi->ip_extent_map.em_list);
}