HomeFreeBSD

file: add fo_cmp method

Description

file: add fo_cmp method

The method should return 0 if the file' underlying objects are same. In
other words, if 0 is returned, io from either of file causes
modifications of the same object.

Reviewed by: brooks, markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D43518

Details

Provenance
kibAuthored on Jan 19 2024, 9:01 PM
Reviewer
brooks
Differential Revision
D43518: Implement kcmp(2)
Parents
rG58d317169834: Add fget_remote()
Branches
Unknown
Tags
Unknown