end_dirop(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ end_dirop(9) πŸ¦‹

okay bestie, welcome to the Kernel API Manual corner β€” this one is tiny but iconic. The main character is end_dirop, and she signals completion of a dirop. πŸ’…


🌸 NAME 🌸

end_dirop β€” signal completion of a dirop. periodt. ✨


✨ SYNOPSIS ✨

void end_dirop (struct dentry *de );

πŸŽ€ ARGUMENTS πŸŽ€

  • de β€” the dentry which was returned by start_dirop or similar. she’s literally the one we’re wrapping up here. πŸ’–

πŸ’… DESCRIPTION πŸ’…

so here’s the tea: if de is an error, nothing happens β€” no cap, not a single thing. Otherwise, any lock taken to protect the dentry gets dropped, and the dentry itself is released (dput). that’s the whole vibe. 🫢


πŸ”₯ SEE ALSO πŸ”₯

kernel file ./fs/namei.c, plus the whole squad:


xoxo, your kernel bestie πŸ’‹ β€” source/version: ./fs; date: October 2026. end_dirop(9) out. πŸŽ€

πŸ“¦ where this page comes from