__fh_verify(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __fh_verify β€” like, the manual page, bestie

okay so this is a page straight out of the Kernel API Manual, section 9 (kernel developer vibes only, no cap) β€” it's all about __fh_verify, which does filehandle lookup and access checking in one iconic little move. putting this here so you actually get it 🫢


✨ NAME ✨

__fh_verify β€” filehandle lookup and access checking

like yes, that's the whole name, and yes, it's doing two jobs at once. main character energy fr.


🌸 SYNOPSIS 🌸

__be32 __fh_verify (struct svc_rqst *rqstp , struct net *net , struct
svc_cred *cred , struct auth_domain *client , struct auth_domain
*gssclient , struct svc_fh *fhp , umode_t type , int access );

not me counting the args β€” there are eight, and it hands you back a __be32. so many parameters, so little time πŸ’€


πŸŽ€ ARGUMENTS πŸŽ€

  • rqstp β€” the RPC transaction context, or NULL. yes bestie, NULL is a legal move here.
  • net β€” the net namespace where the export lookup happens. this is where we're looking, okurr.
  • cred β€” the RPC user credential. who even are you, allegedly.
  • client β€” the RPC auth domain.
  • gssclient β€” the RPC GSS auth domain, or NULL. another NULL-friendly one, we love consistency πŸ’–
  • fhp β€” the filehandle that's getting verified. the star of the show, lowkey.
  • type β€” the expected type of the object that the filehandle points to. gotta know what we're looking at.
  • access β€” the type of access you need to that object. what are we even allowed to do here.

πŸ¦‹ DESCRIPTION πŸ¦‹

so the actual description is short and sweet: see fh_verify for further descriptions of fhp, type, and access. that's it. that's the whole bit. it's giving "go read the other page, i'm not repeating myself" πŸ™ˆ

no seriously β€” that's the entire DESCRIPTION section, and i'm not about to invent lore that isn't there. go read fh_verify(9) if you want the deep dive on fhp, type, and access. iykyk.


⭐ SEE ALSO ⭐

Kernel file ./fs/nfsd/nfsfh.c β€” and also these absolute legends:

the whole nfsd filehandle friend group, honestly. obsessed πŸ”₯


quick vibe check: the page only says "see fh_verify" for fhp, type, and access β€” it does not spell anything else out here, so don't come for me if you wanted more. that's genuinely all the source gave us πŸ’€

and that's the page, bestie!! 🌈 from ./fs/nfsd, dated October 2026, tagged __fh_verify(9) β€” slay, go verify some filehandles, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from