nfs_set_verifier(9)
π 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 verifierverfβ 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 π
- Kernel file
./fs/nfs/dir.c nfs_force_lookup_revalidate(9)nfs_verify_change_attribute(9)nfs_clear_verifier_delegated(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms