nfs_set_verifier(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nfs_set_verifier β€” a kernel API manual, but make it make sense

okay so bestie, welcome to nfs_set_verifier from the Kernel API Manual ✨ this one's a tiny little function in the NFS filesystem code and it's genuinely doing the most important lowkey job: it stashes a parent directory verifier inside a dentry. that's it. that's the whole vibe. but like, it matters, so pay attention πŸŽ€


🌸 NAME 🌸

nfs_set_verifier β€” save a parent directory verifier in the dentry 🫢


✨ SYNOPSIS ✨

void nfs_set_verifier (struct dentry *dentry , unsigned long verf );

like literally that's it, two args, returns void, no drama πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dentry β€” pointer to dentry πŸ‘‘ this is the lucky little dentry that's getting the verifier
  • verf β€” verifier to save πŸ“ the actual value going in

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea: it saves the parent directory verifier in dentry. simple. iconic. no notes.

and then β€” this is the part where it gets interesting β€” if the inode has a delegation, we also tag the dentry as having been revalidated while holding a delegation. why?? so that we know we don't have to look it up again after a directory change 🧠✨ like, we already did the work, bestie, we're not doing it twice. main character energy fr fr.


🌈 SEE ALSO 🌈

go read those too, they're all in the same little NFS friend group πŸ’œ


okay and finally, the lil sign-off moment πŸŽ€ this one comes from ./fs/nfs, dated October 2026, and it's filed under nfs_set_verifier(9) in the Kernel API Manual. slay. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from