Skip to content

Commit

Permalink
zfs: fix build without MAC
Browse files Browse the repository at this point in the history
  • Loading branch information
glebius authored and bsdjhb committed Nov 15, 2024
1 parent 0741b93 commit a9466bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions module/os/freebsd/zfs/zfs_vnops_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a9466bc

Please sign in to comment.