git: b458ddf27fd8 - main - zfs: fix build without MAC
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 14 Aug 2024 16:06:50 UTC
The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=b458ddf27fd87afa57575cdad68f6b4183916666 commit b458ddf27fd87afa57575cdad68f6b4183916666 Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2024-08-14 16:06:31 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2024-08-14 16:06:31 +0000 zfs: fix build without MAC --- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops_os.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops_os.c b/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops_os.c index 8185954b3e05..d3be13abc682 100644 --- a/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops_os.c +++ b/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops_os.c @@ -6125,7 +6125,9 @@ zfs_freebsd_copy_file_range(struct vop_copy_file_range_args *ap) error == EOPNOTSUPP) goto bad_locked_fallback; *ap->a_lenp = (size_t)len; +#ifdef MAC out_locked: +#endif if (invp != outvp) VOP_UNLOCK(invp); VOP_UNLOCK(outvp);