HomeFreeBSD

growfs: do not error if filesystem is already requested size

Description

growfs: do not error if filesystem is already requested size

For some cloud/virtualization use cases it can be convenient to grow the
filesystem on boot any time the disk/partition happens to be larger, but
not fail if it remains the same size.

Continue to emit a message if we have no action to take, but exit with
status 0 if the size remains the same.

Reviewed by: trasz
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32856

Details

Provenance
emasteAuthored on Nov 15 2021, 8:37 PM
Reviewer
trasz
Differential Revision
D32856: growfs: do not error if filesystem is already requested size
Parents
rGa8eacf9329e2: cxgbe(4): Change the way t4_shutdown_adapter brings the link(s) down.
Branches
Unknown
Tags
Unknown