HomeFreeBSD

FreeBSD: Ignore make_dev_s() errors

Description

FreeBSD: Ignore make_dev_s() errors

Since errors returned by zvol_create_minor_impl() are ignored by the
common code, it is more convenient to ignore make_dev_s() errors there.
It allows, for example, to get device created for the zvol after later
rename instead of having it further stuck in half-created state.
zvol_rename_minor() already ignores those errors.

While there, switch from MAXPHYS to maxphys in FreeBSD 13+.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored-By: iXsystems, Inc.
Closes #12375

Details

Provenance
mavAuthored on Jul 22 2021, 4:22 PM
GitHub <noreply@github.com>Committed on Jul 22 2021, 4:22 PM
Parents
rGc14ad80fcbcf: Remove old orig_fd variable from zfs send
Branches
Unknown
Tags
Unknown

Event Timeline