]> git.proxmox.com Git - mirror_zfs.git/commit
FreeBSD: Add zfs_link_create() error handling master
authorAlexander Motin <mav@FreeBSD.org>
Fri, 17 May 2024 00:56:55 +0000 (20:56 -0400)
committerGitHub <noreply@github.com>
Fri, 17 May 2024 00:56:55 +0000 (17:56 -0700)
commitefbef9e6cc1e14cc19a24b76175f7ec86610161a
tree2ebe4dce4c48af9c3fc04910865e7865e41412a7
parentfec16b93c46d80ae60a4f20632932601030b6fc0
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
module/os/freebsd/zfs/zfs_dir.c
module/os/freebsd/zfs/zfs_vnops_os.c
module/os/freebsd/zfs/zfs_znode.c
tests/test-runner/bin/zts-report.py.in