ext4_ind_remove_space(9)
πΈ 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:
ext4_block_to_path(9)ext4_get_branch(9)ext4_find_near(9)ext4_find_goal(9)ext4_blks_to_allocate(9)ext4_alloc_branch(9)ext4_splice_branch(9)ext4_find_shared(9)ext4_free_data(9)ext4_free_branches(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms