gfs2_freeze_super(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– gfs2_freeze_super(9) πŸ’–

okay so welcome to the kernel API manual, bestie β€” this one lives in section 9 and it's all about gfs2_freeze_super, which is literally the function that stops the filesystem from writing anything else. no cap. 🧊


✨ NAME ✨

gfs2_freeze_super β€” prevent further writes to the filesystem

like, it puts your fs on pause. the vibe check is: no more writes, periodt. πŸ’…


🌸 SYNOPSIS 🌸

int gfs2_freeze_super (struct super_block *sb , enum freeze_holder who ,
       const void *freeze_owner );

that's the whole signature, character for character, don't @ me 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • sb β€” the VFS structure for the filesystem. this is the main character right here, the super_block itself πŸ‘‘
  • who β€” freeze flags. yes it's an enum freeze_holder, yes the name is giving "who even is doing this freeze", and honestly same 😭
  • freeze_owner β€” owner of the freeze. it's a const void *, so it's just vibing as an opaque pointer to whoever owns this whole situation ✨

πŸ¦‹ SEE ALSO πŸ¦‹

kernel file ./fs/gfs2/super.c β€” that's where the source lives, go peek if you're nosy (respectfully) πŸ‘€

and the whole friend group of related functions, all of them, in order, no skips:

ngl that's a whole squad and they all ate πŸ”₯


friendly reminder bestie: freeze means prevent further writes to the filesystem. that is the entire personality of this function. iykyk πŸ’€

mwah πŸ’‹ that's the page! source path is ./fs/gfs2, dated October 2026 β€” so go forth, freeze responsibly, and slay πŸ§šβ€β™€οΈπŸ’œπŸŒΈ

πŸ“¦ where this page comes from