ubifs_recover_size(9)
π ubifs_recover_size(9) π
okay so this is a page from the Kernel API Manual β yes, the Kernel API Manual, we're doing kernel internals today bestie, put your hair up π β and it's all about ubifs_recover_size, which does exactly what it says on the tin: recover inode size. iconic behavior honestly.
β¨ NAME β¨
ubifs_recover_size β recover inode size. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
int ubifs_recover_size (struct ubifs_info *c , bool in_place );
look at her go. returns an int, takes a struct ubifs_info *c and a bool in_place. no cap, that's the whole signature. π¦
π ARGUMENTS π
cβ the UBIFS file-system description object. your file system's whole little identity card, basically. main character energy fr.in_placeβ iftrue, do a in-place size fixup. like, fix it right there where it lives, no moving boxes. π₯
π DESCRIPTION π
This function attempts to fix inode size discrepancies identified by the
ok bestie quick heads up: the sentence literally just stops there in the original. "identified by the" and then nothing. that's not me being lazy, that's the actual page β the thought just β¨ left the chat β¨. i'm not about to invent the rest for you, so it stays exactly as it is. π«Ά
This functions returns 0 on success and a negative error code on failure.
(yes, "This functions". she said what she said. π)
π SEE ALSO π
so many friends, so little time. all of these live in the kernel file ./fs/ubifs/recovery.c:
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_group(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)
and that's the whole page bestie!! π she comes from ./fs/ubifs, dated October 2026 β mark your calendar, screenshot it, tell your friends. go fix those inode sizes. slay. ππ
π¦ 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