/* @itr: iterator to initialize @fsdata: filesystem data for the partition  */
static int fat_itr_root(fat_itr *itr, fsdata *fsdata)
/* @itr: iterator to initialize @fsdata: filesystem data for the partition  */
static int fat_itr_root(fat_itr *itr, fsdata *fsdata)
{
	if (get_fs_info(fsdata))
		return -ENXIO;
	itr->fsdata = fsdata;
	itr->start_clust = 0;
	itr->clust = fsdata->root_cluster;
	itr->next_clust = fsdata->root_cluster;
	itr->dent = NULL;
	itr->remaining = 0;
	itr->last_cluster = 0;
	itr->is_root = 1;
	return 0;
}