nilfs_search_super_root(9)
π 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 anilfs_recovery_infostruct 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms