move_nodes(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 πŸ’š
  • -EAGAIN if 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:


bye bestie 🫢 this page came from ./fs/ubifs, dated October 2026, and it’s move_nodes(9) signing off πŸ’…βœ¨

πŸ“¦ where this page comes from