sb_write_started(9)
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 π₯
- Kernel file
./include/linux/fs/super.hβ__sb_write_started(9)π¦ sb_write_not_started(9)πΈsb_end_write(9)πsb_end_pagefault(9)πsb_end_intwrite(9)βsb_start_write(9)πsb_start_pagefault(9)πsb_start_intwrite(9)π§
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms