ext4_ind_remove_space(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to ext4_ind_remove_space(9) from the Kernel API Manual β€” the name is literally the whole mood: ext4_ind_remove_space β€” remove space from the range. πŸ’…


✨ SYNOPSIS ✨

the vibe check is a function signature, no cap:

int ext4_ind_remove_space (handle_t *handle , struct inode *inode ,
       ext4_lblk_t start , ext4_lblk_t end );

πŸŽ€ ARGUMENTS πŸŽ€

  • handle β€” the JBD handle for this transaction, periodt.
  • inode β€” the inode we are dealing with.
  • start β€” First block to remove.
  • end β€” One block after the last block to remove (exclusive).

πŸ’… DESCRIPTION πŸ’…

so here's the tea: it frees the blocks in the defined range, and end is the exclusive endpoint of range β€” like, it's the one after the last block to remove, not included. ✨

This is used by ext4_punch_hole. that's the whole plot, fr fr.


πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file is ./fs/ext4/indirect.c, and the related-call squad is giving main character energy:


mwah πŸ’– β€” cute little sign-off from the source/version corner: ./fs/ext4, dated October 2026, for ext4_ind_remove_space(9). that's the footer info, bestie, not me copying the exact line πŸ™ˆβœ¨

πŸ“¦ where this page comes from