eventfs_remove_dir(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… eventfs_remove_dir(9) β€” the Kernel API Manual girlie's edition πŸŽ€

okay so real talk, we're deep in the Kernel API Manual today bestie, and this one is a certified kernel-internals moment. no cap.


✨ NAME ✨

eventfs_remove_dir β€” remove an eventfs dir or file from the list πŸ—‘οΈβœ¨

like, it's the cleanup crew. it takes the thing off the list. that's the whole vibe.


🌸 SYNOPSIS 🌸

void eventfs_remove_dir (struct eventfs_inode *ei );

returns void, so no exit status to stress about, she just does the thing and dips πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ei β€” the eventfs_inode that's getting removed. this is the main character of the function ngl, everything happens to her 🫢

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜• β€” eventfs_remove_dir acquires the eventfs_mutex lock and then calls eventfs_remove_rec. that's it. that's the whole function. lock, then recurse-inated. πŸ”₯

lowkey obsessed with how short this description is β€” she said "minimalist" and she ATE πŸ‘‘

🌈 SEE ALSO 🌈

sibling functions, the whole friend group fr fr πŸ’œ:

all of these live in the kernel file ./fs/tracefs/event_inode.c β€” go say hi 🧚


πŸ’€ friendly reminder that this is the Kernel API Manual, so please don't go calling kernel internals from userspace, i'm begging πŸ™ˆ

and that's the page bestie!! ✨ source/version vibes: ./fs/tracefs, dated October 2026 β€” yes october 2026, she's from the future, we don't ask questions πŸ•°οΈπŸ’«

πŸ“¦ where this page comes from