HomeFreeBSD

nfscl: Handle CB_SEQUENCE not first op correctly

Description

nfscl: Handle CB_SEQUENCE not first op correctly

The check for "not first operation" in CB_SEQUENCE
was done after the slot, etc. was updated. This patch
moves the check to the beginning of CB_SEQUENCE
processing.

While here, also fix the check for "no CB_SEQUENCE operation first"
by moving the check to the beginning of callback operation parsing,
since the check was in a couple of the other operations, but
not all of them.

PR: 260412

(cherry picked from commit e0861304a7b6b9c410db69be6148a5510c6b2d23)

Details

Provenance
rmacklemAuthored on Dec 16 2021, 12:36 AM
Parents
rG8253e8833725: getfh: clarify that it is a privileged operation
Branches
Unknown
Tags
Unknown