nilfs_search_super_root(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– hey bestie, welcome to the nilfs_search_super_root(9) page πŸ’–

this is from the Kernel API Manual, and we're about to search the latest valid super root together 🫢 no cap.


🌸 NAME 🌸

nilfs_search_super_root β€” search the latest valid super root ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

       int nilfs_search_super_root (struct the_nilfs *nilfs , struct
       nilfs_recovery_info *ri );

πŸŽ€ ARGUMENTS πŸŽ€

  • nilfs β€” the_nilfs 🫢 that's the exact name the page gives, iykyk.
  • ri β€” pointer to a nilfs_recovery_info struct to store search results. it's giving β€œput the receipts here” πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

okay so nilfs_search_super_root looks for the latest super-root from a partial segment pointed by the superblock. it sets up struct the_nilfs through this search. it also fills nilfs_recovery_info (ri) β€” the stuff required for recovery. yes bestie, it's doing both, main character energy fr fr πŸ’–

✨ RETURN ✨

0 on success, or one of the following negative error codes on failure 😭:

  • -EINVAL β€” No valid segment found.
  • -EIO β€” I/O error.
  • -ENOMEM β€” Insufficient memory available.

🌈 SEE ALSO 🌈

Kernel file ./fs/nilfs2/recovery.c, plus these other pages: nilfs_compute_checksum(9), nilfs_read_super_root_block(9), nilfs_read_log_header(9), nilfs_validate_log(9), nilfs_read_summary_info(9), nilfs_skip_summary_info(9), nilfs_scan_dsync_log(9), nilfs_do_roll_forward(9), nilfs_abort_roll_forward(9), nilfs_salvage_orphan_logs(9) 🫢


mwah πŸ’‹ this cute lil page comes from ./fs/nilfs2, dated October 2026, and it's the nilfs_search_super_root(9) manual page. periodt πŸ’œ

πŸ“¦ where this page comes from