mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 19:34:43 +01:00
zfs_vnops_os.c: fallocate is valid but not supported on FreeBSD
This works around /usr/lib/go-1.18/pkg/tool/linux_amd64/link: mapping output file failed: invalid argument It's happened to me under a Linux jail, but it's also happened to other people, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270247#c4 Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Signed-off-by: pstef <[email protected]> Closes #16918
This commit is contained in:
1 parent
d35f9f2e84
commit
478b09577a
1 file changed
+1
-1
@@ -6258,7 +6258,7 @@ struct vop_vector zfs_vnodeops = {
|
||||
.vop_fplookup_vexec = zfs_freebsd_fplookup_vexec,
|
||||
.vop_fplookup_symlink = zfs_freebsd_fplookup_symlink,
|
||||
.vop_access = zfs_freebsd_access,
|
||||
.vop_allocate = VOP_EINVAL,
|
||||
.vop_allocate = VOP_EOPNOTSUPP,
|
||||
#if __FreeBSD_version >= 1400032
|
||||
.vop_deallocate = zfs_deallocate,
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user