remove_buds(9)
π« remove_buds(9) π«
okay so bestie, welcome to the Kernel API Manual β¨ this one's a lil function page from the UBIFS world and it's honestly shorter than my attention span, so let's go π«Ά
πΈ NAME πΈ
remove_buds β remove used buds. that's it. that's the whole vibe. used buds get removed π
π¦ SYNOPSIS π¦
void remove_buds (struct ubifs_info *c );
like, it returns nothing (void), takes one pointer, and does its thing. no cap β¨
π ARGUMENTS π
cβ the UBIFS file-system description object π that's the whole cast, one (1) single argument, main character energy fr fr
π₯ DESCRIPTION π₯
so what does it actually do? remove_buds removes the use buds from the buds tree π literally that's the job.
but β and this is the important part, don't @ me β it does not remove the buds which are pointed to by journal heads π those ones are staying, bestie. they're protected. not touching them. periodt.
ngl this is one of those "do exactly one thing and nothing else" functions and we respect her for it π
β SEE ALSO β
the whole friend group π«Ά all of these live in the kernel file ./fs/ubifs/log.c:
ubifs_search_bud(9)ubifs_get_wbuf(9)empty_log_bytes(9)ubifs_add_bud(9)ubifs_add_bud_to_log(9)ubifs_log_start_commit(9)ubifs_log_end_commit(9)ubifs_log_post_commit(9)struct done_ref(9)done_already(9)destroy_done_tree(9)add_node(9)ubifs_consolidate_log(9)dbg_check_bud_bytes(9)
iykyk π
and that's the page!! sourced straight from ./fs/ubifs, dated October 2026 ποΈβ¨ mwah, go read the other ones too, ily, bye ππ§π
π¦ 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