aboutsummaryrefslogtreecommitdiff
path: root/sbin/ifconfig/ifpfsync.c
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2025-08-22 20:24:25 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2025-08-22 20:24:25 +0000
commitb5a18ea27f7a440eeebcca5795cf69a2805b1a5c (patch)
tree84d23bddba92c58bda41b0bc8df73ec628ca0d37 /sbin/ifconfig/ifpfsync.c
parent9187f64a74698736a5686971b3cfbcb226cb098c (diff)
vfs_vnops.c: Change the error return from ENOSYS to EOPNOTSUPPHEADmain
When the COPY_FILE_RANGE_CLONE flag argument is provided to copy_file_range(2), it will return failure if block cloning is not supported by the underlying file system. This patch changes the errno returned for this failure from ENOSYS to EOPNOTSUPP. Suggested by: kib Fixes: 37b2cb5ecb0f ("vfs: Add support for file cloning to VOP_COPY_FILE_RANGE")
Diffstat (limited to 'sbin/ifconfig/ifpfsync.c')
0 files changed, 0 insertions, 0 deletions