nfsd_fsnotify_recalc_mask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

nfsd_fsnotify_recalc_mask(9) β€” Kernel API Manual, but make it bestie ✨

πŸ’– NAME πŸ’–

nfsd_fsnotify_recalc_mask β€” recalculate the fsnotify mask for a nfsd_file. That’s the whole vibe, no cap.


✨ SYNOPSIS ✨

void nfsd_fsnotify_recalc_mask (struct nfsd_file *nf );

πŸŽ€ ARGUMENTS πŸŽ€

  • nf β€” the nfsd_file to recalculate the mask on. Like, this is the main character getting its mask recalced πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture this: when a directory nfsd_file has a delegation added or removed, that may change the events that nfsd requires from the VFS layer. Bestie, the delegation situation shifted, so the event needs shifted too.

This function recalculates the fsnotify mask based on the leases present. It’s giving maintenance, it’s giving β€œlet me check the lease situation and update accordingly,” and honestly? Iconic. ✨

🌈 SEE ALSO 🌈

Kernel file ./fs/nfsd/filecache.c β€” plus the whole squad, fr fr:


mwah πŸ’‹ source ./fs/nfsd Β· October 2026 Β· page nfsd_fsnotify_recalc_mask(9) 🫢

πŸ“¦ where this page comes from