nilfs_dat_move(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is the nilfs_dat_move(9) page from the Kernel API Manual ✨ and it’s honestly giving β€œtiny function, very specific job” energy πŸ’…

πŸ’– NAME πŸ’–

nilfs_dat_move β€” change a block number πŸŽ€

✨ SYNOPSIS ✨

int nilfs_dat_move (struct inode *dat , __u64 vblocknr , sector_t
blocknr );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dat β€” DAT file inode πŸ’–
  • vblocknr β€” virtual block number ✨
  • blocknr β€” block number πŸŽ€

🌸 DESCRIPTION 🌸

So like, nilfs_dat_move changes the block number associated with vblocknr to blocknr. That’s the whole main-character move, no cap πŸ’«

πŸ”₯ RETURN πŸ”₯

0 on success β€” slay πŸŽ‰ On failure, you get one of these negative error codes:

  • -EIO β€” I/O error (including metadata corruption) 😭
  • -ENOMEM β€” insufficient memory available πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./fs/nilfs2/dat.c, struct nilfs_dat_info(9), nilfs_dat_mark_dirty(9), nilfs_dat_freev(9), nilfs_dat_translate(9), nilfs_dat_read(9) β€” go peek at these, iykyk πŸ‘€βœ¨


xoxo, from ./fs/nilfs2, dated October 2026, for nilfs_dat_move(9) β€” Kernel API Manual bestie signing off πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from