/* destroy_bud_list - destroy the list of buds to replay.  */
static void destroy_bud_list(struct ubifs_info *c)
/* destroy_bud_list - destroy the list of buds to replay.  */
static void destroy_bud_list(struct ubifs_info *c)
{
	struct bud_entry *b;
	while (!list_empty(&c->replay_buds)) {
		b = list_entry(c->replay_buds.next, struct bud_entry, list);
		list_del(&b->list);
		kfree(b);
	}
}