mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 19:34:43 +01:00
FreeBSD: fix build without kernel option MAC
Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Mark Johnston <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Signed-off-by: Gleb Smirnoff <[email protected]> Closes #16446
This commit is contained in:
1 parent
d2ccc21552
commit
83f359245a
1 file changed
+2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user