HomeFreeBSD

vfs: Put the definition of COPY_FILE_RANGE_CLONE in unistd.h

Description

vfs: Put the definition of COPY_FILE_RANGE_CLONE in unistd.h

kib@ noted that having COPY_FILE_RANGE_CLONE defined
in vnode.h was inappropriate, since it is meant to be used from
user space as well as kernel space.

This patch moves it into sys/unistd.h and reverts the addition
of it in vnode.h.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D51838
Fixes: 37b2cb5ecb0f ("vfs: Add support for file cloning to VOP_COPY_FILE_RANGE")

Details

Provenance
rmacklemAuthored on Aug 9 2025, 8:33 PM
Reviewer
kib
Differential Revision
D51838: vfs: Put the definition of COPY_FILE_RANGE_CLONE in an appropriate place
Parents
rG9f4eb7679648: man/man7: drop i386 from simd(7)
Branches
Unknown
Tags
Unknown