nfsd_update_cmtime_attr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nfsd_update_cmtime_attr πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ β€” this is the page for nfsd_update_cmtime_attr, and yes it's a nine-paragraph man page about one function, but honestly? it's lowkey iconic. let's get into it 🫢


🌸 NAME 🌸

nfsd_update_cmtime_attr β€” update a file's delegated ctime/mtime, and optionally other attributes (ie ATTR_ATIME). periodt. πŸ’«


✨ SYNOPSIS ✨

void nfsd_update_cmtime_attr (struct file *f , unsigned int flags );

like, that's the whole signature. short king energy πŸ‘‘ no return value, it's a void, it just does things. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • f β€” pointer to an opened file πŸ—‚οΈ that's your main character right there
  • flags β€” any additional flags that should be updated 🌈 like, the extra little attrs you wanna touch too

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the lore πŸ“–: given that upon opening a file, delegated attributes were issued, this function updates f's attributes to the current times. ⏰✨ that's it, that's the vibe β€” the attrs get refreshed to now. ngl it's a small function but it's doing its thing πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group 🫢 all of these live in the kernel file ./fs/nfsd/nfs4state.c:

like… that's a squad πŸ’€ go read them, iykyk πŸ‘‘


okay that's the whole page bestie, thank you for coming to my ted talk 🧚 this one shipped from ./fs/nfsd back in October 2026, mwah πŸ’‹ bye bye πŸ“πŸ’–

πŸ“¦ where this page comes from