HomeFreeBSD

nullfs: do not allow bypass on copy_file_range()

Description

nullfs: do not allow bypass on copy_file_range()

There must be no callers of VOP_COPY_FILE_RANGE() except
vn_copy_file_range(), which does enough to find the write-vnodes where
to call the VOP.

Reviewed by: markj, Olivier Certner <olce.freebsd@certner.fr>
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D42603

Details

Provenance
kibAuthored on Nov 18 2023, 9:23 AM
Reviewer
markj
Differential Revision
D42603: nullfs: provide special bypass for null_copy_file_range()
Parents
rGc5405d1c8507: vn_copy_file_range(): provide ENOSYS fallback to vn_generic_copy_file_range()
Branches
Unknown
Tags
Unknown