continue_dat...o_with_error(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… continue_dat...o_with_error(9)

okay so this is a page from the Kernel API Manual, bestie β€” the function we're stanning is continue_data_vio_with_error, and it lives in the kernel, so like... main character energy but make it void. πŸŽ€


✨ NAME ✨

continue_data_vio_with_error β€” set an error code and then continue processing a data_vio. literally that's the whole job, no cap. πŸ’–


🌸 SYNOPSIS 🌸

void continue_data_vio_with_error (struct data_vio *data_vio , int
result );

look at her go, returning void because she's got nothing to prove 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • data_vio β€” -- undescribed -- πŸ™ˆ bestie the manpage literally did not describe it, so i'm not gonna make something up, that's not the vibe
  • result β€” -- undescribed -- 😭 same situation, our source left this one blank too, no tea no shade
ngl, these two are giving "left as an exercise for the reader" energy. i'm just reporting what's on the page πŸ’€

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the actual tea: this function will not mask older errors. periodt. if something was already cooked, it stays cooked β€” she's not here to overwrite the receipts.

she can be called with a success code, sure, it's allowed, no one's stopping you β€” but if the caller already knows the result was a success, it's more efficient to just call continue_data_vio instead. why take the scenic route when the direct path is right there? slay responsibly. ✨

πŸ’‘ vibe check: success result + this function = works, but lowkey wasteful. success result + continue_data_vio = the move.

πŸ”₯ SEE ALSO πŸ”₯

the kernel file itself, icon behavior:

  • Kernel file ./drivers/md/dm-vdo/data-vio.h

and the whole friend group, fr fr β€” go read these too:

like, that's a whole squad of callbacks and honestly? obsessed. πŸ’…


and that's the page, bestie 🧚 this one came out of ./drivers/md/dm-vdo, dated October 2026, and if you ever forget where it's from just remember the header: continue_dat...o_with_error(9) β€” yes the title is truncated in the source, no i will not be fixing it, she's iconic like that πŸŒˆπŸ’–

go forth and continue your data_vio responsibly 🫢✨

πŸ“¦ where this page comes from