lock_2_inodes(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lock_2_inodes β€” Kernel API Manual ✨

🌸 NAME

lock_2_inodes β€” a wrapper for locking two UBIFS inodes, and that's literally the whole name, bestie πŸ’–

✨ SYNOPSIS

okay so the signature is giving:

void lock_2_inodes (struct inode *inode1 , struct inode *inode2 );

πŸŽ€ ARGUMENTS

  • inode1 β€” first inode 🫢
  • inode2 β€” second inode 🌸

πŸ¦‹ DESCRIPTION

So here's the tea, bestie: we do not implement any tricks to guarantee strict lock ordering, because VFS has already done it for us on the i_mutex. That means this is just a simple wrapper function. No cap, that's the whole vibe πŸ’…βœ¨

🌈 SEE ALSO

go read these too, iykyk πŸ‘‘

β€” xoxo, your ./fs/ubifs source, October 2026 edition, lock_2_inodes(9) πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from