move_nodes(9)
π NAME π
okay so this is move_nodes(9) from the Kernel API Manual, and bestie the name is literally telling you the whole plot: move nodes. thatβs the function. thatβs the vibe. π
β¨
β¨ SYNOPSIS β¨
int move_nodes (struct ubifs_info *c , struct ubifs_scan_leb *sleb );
π«Ά ARGUMENTS π«Ά
cβ the UBIFS file-system description object. itβs giving βmain character context structβ ngl πslebβ describes the LEB to move nodes from. lowkey the source-side bestie of this whole operation π¦
πΈ DESCRIPTION πΈ
This function moves valid nodes from the data LEB described by sleb to the GC journal head. like, valid nodes go from the data LEB over to the GC journal head β periodt. β¨
and the return tea β:
- it returns zero in case of success β slay π
-EAGAINif commit is required β not a fail exactly, just βcome back after commitβ energy π- other negative error codes in case of other failures β boo π but at least it tells you
π SEE ALSO π
all the related lore lives in the Kernel file ./fs/ubifs/gc.c, and the SEE ALSO besties are:
switch_gc_head(9)data_nodes_cmp(9)sort_nodes(9)move_node(9)gc_sync_wbufs(9)ubifs_garbage_collect_leb(9)ubifs_garbage_collect(9)ubifs_gc_start_commit(9)ubifs_gc_end_commit(9)ubifs_destroy_idx_gc(9)ubifs_get_idx_gc_leb(9)
bye bestie π«Ά this page came from ./fs/ubifs, dated October 2026, and itβs move_nodes(9) signing off π
β¨
π¦ 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