nilfs_read_log_header(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– nilfs_read_log_header πŸ’–

okay bestie, quick vibe check: this page comes from the Kernel API Manual, and it’s lowkey just here to read one summary header from a log. tiny function, very specific job, we love that for it. 🫢


🌸 NAME 🌸

nilfs_read_log_header β€” read the summary header of the specified log. πŸ’…


✨ SYNOPSIS ✨

struct buffer_head * nilfs_read_log_header (struct the_nilfs *nilfs , sector_t start_blocknr , struct nilfs_segment_summary **sum );

πŸŽ€ ARGUMENTS πŸŽ€

  • nilfs β€” the nilfs object. like, the object you’re working with. πŸ¦‹
  • start_blocknr β€” start block number of the log.
  • sum β€” pointer to return segment summary structure. it’s the spot where that segment summary struct comes back. ✨

πŸ”₯ RETURN πŸ”₯

You get a buffer head pointer, or NULL if an I/O error occurs. that’s the whole tea. πŸ“


🌈 SEE ALSO 🌈

Kernel file: ./fs/nilfs2/recovery.c. The SEE ALSO squad is:


okay bye bestie πŸ’– this page’s footer says source/version ./fs/nilfs2, dated October 2026, and the whole thing is nilfs_read_log_header(9). slay, periodt. πŸ‘‘

πŸ“¦ where this page comes from