kernfs_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… kernfs_put(9) πŸ’… β€” straight from the Kernel API Manual, bestie

okay so we're doing the kernfs_put(9) page, and it's short but iconic. Buckle up πŸŽ€


🌸 NAME 🌸

kernfs_put β€” put a reference count on a kernfs_node

✨ SYNOPSIS ✨

void kernfs_put (struct kernfs_node *kn );

πŸŽ€ ARGUMENTS πŸŽ€

  • kn β€” the target kernfs_node.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so kernfs_put() literally puts a reference count of kn, and if that count reached zero, it destroys it. That's the whole move, bestie β€” no extra lore, no secret side quest.

The key vibe check: it destroys kn only if the count reached zero. Periodt. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./fs/kernfs/dir.c β€” yes, that's where the friend group lives β€” plus these absolutely iconic neighbors:


mwah πŸ’– that's the whole page. The footer source/version is serving ./fs/kernfs, dated October 2026, and the page itself is kernfs_put(9) β€” periodt. 🫢✨

πŸ“¦ where this page comes from