ext4_double...ite_data_sem(9)
π ext4_double...ite_data_sem(9) π
okay so bestie, welcome to the Kernel API Manual β¨ we're looking at a page whose full title is ext4_double...ite_data_sem(9) (yes the middle got cut off, that's just how it's printed, don't @ me) and the whole vibe is: locking two inodes at once. let's get into it π«Ά
πΈ NAME πΈ
ext4_double_down_write_data_sem β write lock two inodes's i_data_sem ππ (and yes, "inodes's" is exactly how the original says it, we respect the text π)
β¨ SYNOPSIS β¨
void ext4_double_down_write_data_sem (struct inode *first , struct inode *second );
π ARGUMENTS π
firstβ the inode to be locked, bestie. first one up πsecondβ the other inode to be locked. the sequel, the second main character π
π¦ DESCRIPTION π¦
so what does it do? it acquires the write lock of i_data_sem of the two inodes. that's it, that's the whole thing. two inodes, one write lock each, both locked, periodt π
β¨
it's giving "grab both so nobody else can touch them" energy, no cap π₯
π SEE ALSO π
Kernel file ./fs/ext4/move_extent.c ext4_double_up_write_data_sem(9), ext4_move_extents(9)β the related icons, go read them too, iykyk π
and that's the page!! π no notes, ate, left no crumbs β¨ this little beauty lives in ./fs/ext4 and it's stamped October 2026, so likeβ¦ future-dated slay?? anyway mwah, go lock some inodes responsibly bestie πππ
π¦ 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