nilfs_iget_for_shadow(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to nilfs_iget_for_shadow(9) β€” straight out of the Kernel API Manual ✨

nilfs_iget_for_shadow β€” obtain inode for shadow mapping πŸ’…


✨ SYNOPSIS ✨

struct inode * nilfs_iget_for_shadow (struct inode *inode );

🌸 ARGUMENTS 🌸

  • inode β€” the inode object that uses shadow mapping, periodt 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So nilfs_iget_for_shadow allocates a pair of inodes that holds page caches for shadow mapping. No cap, it's giving package deal πŸ’–

The page cache for data pages is set up in one inode, and the page cache for b-tree node pages is set up in the other inode β€” and that other inode is attached to the former inode. Obsessed with the attachment lore, ngl πŸ”₯


🌈 RETURN 🌈

On success you get a pointer to the inode for data pages πŸŽ€

Or, if memory is insufficient, you get -ENOMEM 😭


πŸ‘‘ SEE ALSO πŸ‘‘


okay that's the whole page, bestie πŸ’– source/version: ./fs/nilfs2 Β· date: October 2026 Β· manual: nilfs_iget_for_shadow(9) β€” mwah, go touch some inodes ✨🫢

πŸ“¦ where this page comes from