HomeFreeBSD

Update local variable 'block' after calling capacity_resize(),

Description

Update local variable 'block' after calling capacity_resize(),
otherwise format_resize(), which is called right after, isn't
getting the current/actual image size. Rather than rounding up,
format_resize() could end up truncating the size and we don't
allow that by design.

MFC after: 1 week

Details

Provenance
marcelAuthored on
Parents
rS306298: MFC r305956: Add manpage for rctl_* system calls
Branches
Unknown
Tags
Unknown