sb_write_started(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to sb_write_started(9) from the Kernel API Manual β€” yes, that’s the manual name, and no, I didn’t forget it. πŸ’…

πŸŽ€ NAME πŸŽ€

sb_write_started β€” check if SB_FREEZE_WRITE is held. That’s the whole vibe: it’s the β€œis this held??” check, no cap. ✨

✨ SYNOPSIS ✨

bool sb_write_started (const struct super_block *sb );

🫢 ARGUMENTS 🫢

  • sb β€” the super we write to. Periodt. πŸ’–

πŸ’– DESCRIPTION πŸ’–

okay so real talk: it may be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN. That’s the caveat, bestie β€” don’t let it gaslight u. 😭

Heads up: false-positive energy is literally possible here with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN, so keep that in mind. 🫢

πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’– this page’s source/version is ./include/linux/fs, and it’s dated October 2026 β€” bye bestie, go check ur freeze state responsibly! πŸŽ€βœ¨

πŸ“¦ where this page comes from