__sb_write_started(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– __sb_write_started(9) πŸ’–

okay bestie, welcome to the Kernel API Manual ✨ this little icon is __sb_write_started(9), and it is literally here to check if the sb freeze level is held 🫢


✨ NAME ✨

__sb_write_started β€” check if sb freeze level is held πŸ’…


🌸 SYNOPSIS 🌸

int __sb_write_started (const struct super_block *sb , int level );

🫢 ARGUMENTS 🫢

  • sb β€” the super we write to 🌟
  • level β€” the freeze level ❄️

πŸ’… DESCRIPTION πŸ’…

the vibe check results are giving:

  • > 0 β€” sb freeze level is held βœ…
  • 0 β€” sb freeze level is not held 🚫
  • < 0 β€” !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN πŸ˜΅β€πŸ’«

πŸ”₯ SEE ALSO πŸ”₯

the kernel file ./include/linux/fs/super.h has the receipts, and the bestie-verse also says check out:


xoxo πŸ’‹ β€” this one comes from ./include/linux/fs, dated October 2026, and the page is __sb_write_started(9) πŸŽ€

πŸ“¦ where this page comes from