nilfs_dat_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

nilfs_dat_read(9) from the Kernel API Manual is literally here to read or get a dat inode, bestie. That's the vibe. πŸ«ΆπŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

Okay so the signature is giving:

int nilfs_dat_read (struct super_block *sb , size_t entry_size , struct
       nilfs_inode *raw_inode , struct inode **inodep );

🌸 ARGUMENTS 🌸

  • sb β€” super block instance, the main character πŸ‘‘
  • entry_size β€” size of a dat entry, no cap πŸ“
  • raw_inode β€” on-disk dat inode, iconic πŸ“
  • inodep β€” buffer to store the inode, literally where it goes πŸŽ€

πŸ”₯ RETURN πŸ”₯

0 on success, or a negative error code on failure. That's the whole story β€” slay when it works, negative error code when it doesn't. βœ…πŸ’€


πŸ’« SEE ALSO πŸ’«

Kernel file ./fs/nilfs2/dat.c β€” struct nilfs_dat_info(9), nilfs_dat_mark_dirty(9), nilfs_dat_freev(9), nilfs_dat_move(9), nilfs_dat_translate(9). Go read the whole friend group, iykyk 🌈✨


Source/version: ./fs/nilfs2 Β· Date: October 2026 β€” that's the cute sign-off, bestie, periodt. πŸ’œπŸŽ€

πŸ“¦ where this page comes from