HomeFreeBSD

nfsv4 client: factor loop contents out into a separate function

Description

nfsv4 client: factor loop contents out into a separate function

Commit fdc9b2d50fe9 replaced a couple of while loops with LIST_FOREACH()
loops. This patch factors the body of that loop out into a separate
function called nfscl_checkown().
This prepares the code for future changes to use a hash table of
lists for open searches via file handle.

This patch should not result in a semantics change.

(cherry picked from commit 4e6c2a1ee9af05bf42187e8201af1d03a617834f)

Details

Provenance
rmacklemAuthored on Apr 1 2021, 10:36 PM
Parents
rG33c839b6f679: nfsd: silence rpcb_unset noise for NFSv4 only servers
Branches
Unknown
Tags
Unknown