luo_flb_file_unpreserve(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay bestie, meet luo_flb_file_unpreserve from the Kernel API Manual πŸ’… β€” she notifies FLBs that a dependent file was unpreserved. Periodt.

✨ SYNOPSIS ✨

void luo_flb_file_unpreserve (struct liveupdate_file_handler *fh );

πŸŽ€ ARGUMENTS πŸŽ€

  • fh β€” the file handler for the unpreserved file. That's the whole argument, no cap 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So this function does a little reverse-order tour through all the FLBs associated with the given file handler β€” reverse order of registration, specifically. For each FLB, it decrements the reference count. And if that count becomes 0, it triggers the FLB's .unpreserve callback so the global state gets cleaned up. Literally the cleanup moment ✨

🌈 CONTEXT 🌈

She gets called when a preserved file is being cleaned up before reboot (e.g., from luo_file_unpreserve_files). It's giving cleanup era, honestly πŸ’–

πŸ”₯ SEE ALSO πŸ”₯


And that's the tea, bestie 🫢 β€” this page came from source/version ./kernel/liveupdate, dated October 2026. Stay iconic πŸ‘‘

πŸ“¦ where this page comes from