kernfs_unlink_open_file(9)
πΈ NAME πΈ
okay so bestie, welcome to kernfs_unlink_open_file(9) from the Kernel API Manual β section 9, the cutest little corner of kernel docs π
kernfs_unlink_open_file β Unlink @of from @kn. β¨
β¨ SYNOPSIS β¨
void kernfs_unlink_open_file (struct kernfs_node *kn , struct kernfs_open_file *of , bool open_failed );
π ARGUMENTS π
knβ targetkernfs_nodeπofβ associatedkernfs_open_fileπopen_failedβ->openfailed, cancel->releaseπ
π¦ DESCRIPTION π¦
Unlink of from the list of kn's associated open files. If the list of associated open files becomes empty, disassociate and free kernfs_open_node. periodt π
LOCKING: None. β no locks, zero, zip, none, not a single one π«Ά
π₯ SEE ALSO π₯
Kernel file ./fs/kernfs/file.c, plus of_on(9), kernfs_deref_open_node_locked(9), kernfs_get_open_node(9), kernfs_notify(9), and __kernfs_create_file(9) π
xoxo, your kernel bestie π β source/version ./fs/kernfs, dated October 2026. π¦β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms