diff options
author | Rick Macklem <rmacklem@FreeBSD.org> | 2025-08-22 20:24:25 +0000 |
---|---|---|
committer | Rick Macklem <rmacklem@FreeBSD.org> | 2025-08-22 20:24:25 +0000 |
commit | b5a18ea27f7a440eeebcca5795cf69a2805b1a5c (patch) | |
tree | 84d23bddba92c58bda41b0bc8df73ec628ca0d37 /sbin/ifconfig/ifpfsync.c | |
parent | 9187f64a74698736a5686971b3cfbcb226cb098c (diff) |
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