ubifs_add_bud_to_log(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to ubifs_add_bud_to_log(9) β€” the kernel API manual page for ubifs_add_bud_to_log, and its whole thing is add a new bud to the log ✨. That's the vibe. 🫢


🌸 SYNOPSIS 🌸

int ubifs_add_bud_to_log (struct ubifs_info *c , int jhead , int lnum ,
       int offs );

πŸŽ€ ARGUMENTS πŸŽ€

  • c β€” the UBIFS file-system description object, aka the main-character context πŸ’…
  • jhead β€” the journal head that the bud belongs to
  • lnum β€” the LEB number of the bud
  • offs β€” the starting offset of the bud

πŸ¦‹ DESCRIPTION πŸ¦‹

This function writes a reference node for the new bud LEB lnum to the log, and then adds it to the buds trees. It also makes sure the log size does not exceed the c->max_bud_bytes limit. No cap, it's doing the most to keep things in check πŸ”₯

Returns zero in case of success, -EAGAIN if commit is required, and a negative error code in case of failure. So yeah: zero = slay, -EAGAIN = commit needed bestie, negative = something went off 😭


🌈 SEE ALSO 🌈

Kernel file ./fs/ubifs/log.c, plus these iconic little references:


Brought to you by ./fs/ubifs, dated October 2026, and yes bestie this page is literally ubifs_add_bud_to_log(9) πŸ’…βœ¨

πŸ“¦ where this page comes from