ext2_free_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay bestie, welcome to ext2_free_data(9) from the Kernel API Manual β€” this one is literally about freeing a list of data blocks ✨

🌸 SYNOPSIS 🌸

void ext2_free_data (struct inode *inode , __le32 *p , __le32 *q );

πŸŽ€ ARGUMENTS πŸŽ€

  • inode β€” the inode we are dealing with, main character energy πŸ‘‘
  • p β€” array of block numbers, slay
  • q β€” points immediately past the end of the array, iykyk

πŸ¦‹ DESCRIPTION πŸ¦‹

So what’s the vibe? We are freeing all blocks referred from that array β€” and yes, the numbers are stored as little-endian 32-bit, no cap β€” and we’re updating inode->i_blocks appropriately πŸ’…

🌈 SEE ALSO 🌈

Bestie, go check the kernel file ./fs/ext2/inode.c β€” and these related functions are also iconic:


Signed off by ./fs/ext2 in October 2026 β€” ext2_free_data(9), periodt πŸ«ΆπŸ’–

πŸ“¦ where this page comes from