HomeFreeBSD

nfsvno_rename(): do not use -1 as special error indicator

Description

nfsvno_rename(): do not use -1 as special error indicator

it clashes with ERESTART. Use EJUSTRETURN for the case, as it is often
done in other places in the kernel.

Reviewed by: markj, rmacklem
Tested by: pho
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D51211

Details

Provenance
kibAuthored on Jul 8 2025, 7:52 PM
Reviewer
markj
Differential Revision
D51211: Make NFS server aware of mnt_renamelock
Parents
rG89990e28e6e1: cp: Add descriptions to all test cases.
Branches
Unknown
Tags
Unknown