drop_last_group(9)
π drop_last_group(9)
ok so this is from the Kernel API Manual β yes we're reading kernel docs for fun now, that's the energy β¨
πΈ NAME πΈ
drop_last_group β drops the last group of nodes. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
void drop_last_group (struct ubifs_scan_leb *sleb , int *offs );
π ARGUMENTS π
slebβ the scanned LEB info, bestie. like the whole scan situation for that LEB π¦offsβ the offset of the dropped nodes gets returned right here. so this is an out-param, she gives you the receipts π
π DESCRIPTION π
okay so this one is a helper function for ubifs_recover_leb, and what she does is: she drops the last group of nodes of the scanned LEB. lowkey iconic, no cap. literally just yeet the last group of nodes and keep it moving π«Ά
π SEE ALSO π
fr fr go check the kernel file ./fs/ubifs/recovery.c β it's giving main character energy, and here's the whole friend group:
is_empty(9)first_non_ff(9)get_master_node(9)write_rcvrd_mst_node(9)ubifs_recover_master_node(9)ubifs_write_rcvrd_mst_node(9)is_last_write(9)clean_buf(9)no_more_nodes(9)fix_unclean_leb(9)drop_last_node(9)ubifs_recover_leb(9)get_cs_sqnum(9)ubifs_recover_log_leb(9)recover_head(9)ubifs_recover_inl_heads(9)clean_an_unclean_leb(9)ubifs_clean_lebs(9)grab_empty_leb(9)ubifs_rcvry_gc_commit(9)struct size_entry(9)add_ino(9)find_ino(9)remove_ino(9)ubifs_destroy_size_tree(9)ubifs_recover_size_accum(9)fix_size_in_place(9)inode_fix_size(9)ubifs_recover_size(9)
π reminder bestie: this lives under ./fs/ubifs and the page is dated October 2026 β so like, future vibes. stay hydrated, read your kernel docs, mwah ππ
π¦ 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