HomeFreeBSD

Patch the NFSv4.2 client side Copy for the Linux server.

Description

Patch the NFSv4.2 client side Copy for the Linux server.

RFC-7862 states that a Copy request with offset or offset + len greater
than file size should fail with NFSERR_INVAL. However the Linux NFSv4.2
server replies with a length of 0.
This patch translates this case into NFSERR_INVAL.

Details

Provenance
rmacklemAuthored on
Parents
rS353675: MFC r353651-r353652
Branches
Unknown
Tags
Unknown