/* group not found */
fg = find_unused_group(pfd);
if (fg)
- goto update_header;
+ goto success;
fg = try_to_free_group(pfd);
if (fg)
- goto update_header;
+ goto success;
fg = free_oldest_group(pfd);
-update_header:
- fg->h = *h;
success:
+ fg->h = *h;
*result = fg;
return 1;
}
h->slice_num);
return 1;
}
- fg->h = *h;
ret = add_slice(buf, fg);
if (ret < 0)
return ret;