update_statfs_inode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to update_statfs_inode(9) β€” the Kernel API Manual page. This one updates the master statfs inode, or zeros out the local statfs inode, for a given journal. That’s the whole assignment. πŸ’…

🌸 SYNOPSIS 🌸

int update_statfs_inode (struct gfs2_jdesc *jd , struct
       gfs2_log_header_host *head , struct inode *inode );

🫢 ARGUMENTS 🫢

  • jd β€” the journal. literally the journal, no cap. πŸ¦‹
  • head β€” okay, listen: if it’s NULL, then inode is the local statfs inode and we need to zero it out. Otherwise, it head contains the statfs change info that needs to be synced to the master statfs inode (pointed to by inode). That’s the vibe check. πŸ‘‘
  • inode β€” the statfs inode to update. yes bestie, that one. πŸ’–

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./fs/gfs2/recovery.c: get_log_header(9), foreach_descriptor(9), clean_journal(9), recover_local_statfs(9). Go read them, they’re iconic. 🌈


xoxo, your update_statfs_inode(9) bestie β€” source/version ./fs/gfs2, dated October 2026 πŸ’–βœ¨

πŸ“¦ where this page comes from