locks_lock_inode_wait(9)
πΈ locks_lock_inode_wait(9) πΈ
okay so bestie, welcome to the locks_lock_inode_wait(9) page from the Kernel API Manual. it's short, it's sweet, and it's giving kernel-lock main character energy. β¨
π NAME π
locks_lock_inode_wait β apply a lock to an inode. no cap, that's the whole name vibe. π
π¦ SYNOPSIS π¦
here's the signature, and yes the spacing is literally doing its thing β keep it exact, bestie:
int locks_lock_inode_wait (struct inode *inode , struct file_lock *fl );
this is the whole synopsis, fr fr. copy it literally. π«Ά
π ARGUMENTS π
two arguments, both iconic:
inodeβ inode of the file to apply to. literally the inode we're targeting. πΈflβ the lock to be applied. this is the lock in question, iykyk. π
π₯ DESCRIPTION π₯
Apply a POSIX or FLOCK style lock request to an inode. that's it, that's the tea β POSIX or FLOCK style, lock request, inode. slay. π
π SEE ALSO π
Kernel file ./fs/locks.c is the spot, and the SEE ALSO besties are β literally all of them, no skipping:
locks_owner_has_blockers(9)lease_open_conflict(9)locks_delete_block(9)posix_lock_file(9)posix_lock_inode_wait(9)inode_lease_ignore_mask(9)__break_lease(9)lease_get_mtime(9)__fcntl_getlease(9)generic_setlease(9)vfs_setlease(9)fcntl_setlease(9)fcntl_setdeleg(9)flock_lock_inode_wait(9)sys_flock(9)vfs_test_lock(9)locks_translate_pid(9)vfs_lock_file(9)vfs_cancel_lock(9)vfs_inode_has_locks(9)
k bye bestie π«Άπ β this page is from source/version ./fs, dated October 2026, and it's the locks_lock_inode_wait(9) manual page. mwah, go slay. π
π¦ 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