nilfs_btnode_delete(9)
π nilfs_btnode_delete(9) β like, the Kernel API Manual page, bestie β¨
okay so real talk, we're in the Kernel API Manual today and the star of the show is nilfs_btnode_delete. she's a void function, she's a little destructive, and honestly? she ate. let's get into it π
β¨ NAME β¨
nilfs_btnode_delete β deletes a B-tree node buffer. yep, that's her whole job. short king energy π
π¦ SYNOPSIS π¦
void nilfs_btnode_delete (struct buffer_head *bh );
copy it exactly like that, spaces and all, no cap. π
πΈ ARGUMENTS πΈ
bhβ the buffer that's getting deleted. that's the one. she's the main character here and her time is up π«Ά
π₯ DESCRIPTION π₯
so what does she actually do? okay so nilfs_btnode_delete invalidates the buffer you handed her β like, that buffer? invalidated, periodt. π
and then, if the page gets unbusy, she also deletes the page that includes the buffer. that's the whole vibe. it's giving "clean up after yourself" and honestly we respect it π
β οΈ note the little conditional there, bestie: the page deletion only happens if the page gets unbusy. not every time. the way that detail matters π
π§ SEE ALSO π§
Kernel file ./fs/nilfs2/btnode.cnilfs_init_btnc_inode(9)nilfs_btnode_prepare_change_key(9)nilfs_btnode_commit_change_key(9)nilfs_btnode_abort_change_key(9)
go read the whole friend group, they're all iconic in their own way πβ¨
and that's the page!! π this little gem lives in ./fs/nilfs2, dated October 2026, and yes she's filed under nilfs_btnode_delete(9) β mwah, drink water, bye bestie ππ
π¦ 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