HomeFreeBSD

FreeBSD: Add zfs_link_create() error handling

Description

FreeBSD: Add zfs_link_create() error handling

Originally Solaris didn't expect errors there, but they may happen
if we fail to add entry into ZAP. Linux fixed it in #7421, but it
was never fully ported to FreeBSD.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored-By: iXsystems, Inc.
Closes #13215
Closes #16138

Details

Provenance
mavAuthored on May 17 2024, 12:56 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 29 2024, 3:54 PM
Parents
rGfa4b1a404e12: ZAP: Fix leaf references on zap_expand_leaf() errors
Branches
Unknown
Tags
Unknown