HomeFreeBSD

nfscl: Return appropriate reply status for NFSv4.1 callbacks

Description

nfscl: Return appropriate reply status for NFSv4.1 callbacks

Certain NFSv4.1 callbacks are not currently supported/used
by the FreeBSD client. Without this patch, NFS4ERR_NOTSUPP
is replied for the callbacks. Since NFSv4.1 does not specify
all of these callbacks as optional, I think it is preferable
to reply NFS_OK or NFS4ERR_REJECT_DELEG instead of NFS4ERR_NOTSUPP.

This patch changes the reply status for these unsupported
callbacks, which the client has no use for.

I am not aware of any NFSv4.1 servers that will perform
any of these callbacks against the FreeBSD client at this time.

(cherry picked from commit 56c8c19046c46cb9e89c2a3967f8cf2cd0ace428)

Details

Provenance
rmacklemAuthored on Wed, Feb 19, 11:34 PM
Parents
rG8ebb0781f536: acpidump: do not use pointer arithmetic to check for overflow
Branches
Unknown
Tags
Unknown