nilfs_btree_node_broken(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– nilfs_btree_node_broken(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” this one's from the NILFS2 kernel world and it's literally just a vibe check for btree nodes. Nothing more, nothing less. Let's get into it 🫢

🌸 NAME 🌸

nilfs_btree_node_broken β€” verify consistency of btree node

like, is this node okay or is it giving broken? that's the whole job πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

int nilfs_btree_node_broken (const struct nilfs_btree_node *node ,
       size_t size , struct inode *inode , sector_t blocknr );

πŸŽ€ ARGUMENTS πŸŽ€

  • node β€” btree node block to be examined πŸ” like the actual thing we're side-eyeing
  • size β€” node size (in bytes) πŸ“ the measurement, in bytes, no cap
  • inode β€” host inode of btree 🌳 the inode that hosts this btree
  • blocknr β€” block number πŸ”’ the block number, periodt

⭐ RETURN ⭐

0 if normal, 1 if the node is broken.

so yeah β€” 0 means we're slaying, 1 means it's broken and we're like 😭

🌈 SEE ALSO 🌈


and that's the whole page bestie, go check those siblings too, iykyk πŸ§šπŸ’œ

mwah πŸ’‹ β€” brought to you by the fine folks at ./fs/nilfs2, dated October 2026, from your fave manual, nilfs_btree_node_broken(9) πŸ‘‘

πŸ“¦ where this page comes from