/* This function returns %0 on success and a negative error code on failure.  */
static int free_idx_lebs(struct ubifs_info *c)
/* This function returns %0 on success and a negative error code on failure.  */
static int free_idx_lebs(struct ubifs_info *c)
{
	int err;
	err = free_unused_idx_lebs(c);
	kfree(c->ilebs);
	c->ilebs = NULL;
	return err;
}