nfs40_discov...ver_trunking(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nfs40_discov...ver_trunking(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this is the page for nfs40_discov...ver_trunking(9) and honestly it's giving "short but important" energy. let's get into it πŸŽ€


✨ NAME ✨

nfs40_discover_server_trunking β€” Detect server IP address trunking (mv0) πŸ¦‹

like. it finds out whether the server is trunking its IP addresses. no cap.


🌸 SYNOPSIS 🌸

int nfs40_discover_server_trunking (struct nfs_client *clp , struct
       nfs_client **result , const struct cred *cred );

three args, one int coming back at you. that's the whole vibe check πŸ’«


πŸ’– ARGUMENTS πŸ’–

  • clp β€” the nfs_client under test πŸ‘€ like, this is the one we're putting under the microscope.
  • result β€” OUT param: the found nfs_client, or clp itself. so it's either "here's what we found" or "it's the same one, bestie" 🫢
  • cred β€” the credential to use for the trunking test. gotta have your ID for the vibe check, literally πŸ”‘

πŸ”₯ DESCRIPTION πŸ”₯

so this function returns zero, a negative errno, or a negative NFS4ERR status. that's three whole possibilities, main character energy fr fr.

if zero is returned, an nfs_client pointer is planted in result. planted! like a little flag on the moon 🌈⭐

πŸ’€ heads up: a negative return means something went sideways β€” either a plain errno situation or the fancier NFS4ERR status. don't mix them up, iykyk.

πŸŽ€ NOTE πŸŽ€

the returned client may not yet be marked ready. 😭 so like… it exists, it's in result, but it's still getting ready in the group chat. don't come for it yet. give it a sec πŸ’…


🧚 SEE ALSO 🧚

go read those next, bestie, they're literally the prequel πŸ“


okay that's the whole page!! πŸ’œ source is ./fs/nfs, dated October 2026 β€” mwah, catch you in the next man page, slay βœ¨πŸ‘‘

πŸ“¦ where this page comes from