ext2_splice_branch(9)
π ext2_splice_branch(9) β Kernel API Manual π
π NAME π
ext2_splice_branch β splice the allocated branch onto inode. That's the whole name, bestie, and it ate. π
β¨ SYNOPSIS β¨
void ext2_splice_branch (struct inode *inode , long block , Indirect
*where , int num , int blks );
π¦ ARGUMENTS π¦
inodeβ owner. Like, the owner. That's the vibe.blockβ (logical) number of block we are adding.whereβ location of missing link.numβ number of indirect blocks we are adding.blksβ number of direct blocks we are adding.
πΈ DESCRIPTION πΈ
Okay so this function fills the missing link and does all the housekeeping needed in inode (->i_blocks, etc.). In case of success we end up with the full chain to new block and return 0. No cap, that's literally the whole glow-up. β¨
π SEE ALSO π
Kernel file ./fs/ext2/inode.c β and the whole friend group: ext2_block_to_path(9), ext2_get_branch(9), ext2_find_near(9), ext2_find_goal(9), ext2_blks_to_allocate(9), ext2_alloc_blocks(9), ext2_alloc_branch(9), ext2_find_shared(9), ext2_free_data(9), ext2_free_branches(9). π«Ά
From ./fs/ext2, dated October 2026 β page ext2_splice_branch(9). Bye bestie, slay your kernel adventures π
β¨
π¦ 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