init_statfs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the init_statfs(9) page in the Kernel API Manual β€” yes, we’re doing kernel stuff today, and this one is here to look up and initialize master and local (per node) statfs inodes. slay ✨

✨ SYNOPSIS ✨

int init_statfs (struct gfs2_sbd *sdp );

πŸŽ€ ARGUMENTS πŸŽ€

  • sdp β€” the GFS2 superblock. that’s the whole argument, bestie 🫢

πŸ’… DESCRIPTION πŸ’…

okay so the vibe is: this should be called after the jindex is initialized in init_journal and before gfs2_journal_recovery is called. why? because we need to be able to write to these inodes during recovery. no cap, timing is everything here ⭐

πŸ”₯ RETURN πŸ”₯

errno β€” that’s it, that’s the return πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./fs/gfs2/ops_fstype.c β€” and the whole related squad:


🫢 that’s the tea, bestie: source/version is ./fs/gfs2, dated October 2026, and the page is init_statfs(9). bye and stay iconic πŸ’–

πŸ“¦ where this page comes from