locks_delete_block(9)
okay so welcome to locks_delete_block(9), straight out of the Kernel API Manual β this is the page about stopping the wait for a file lock, and itβs lowkey iconic π
πΈ NAME πΈ
locks_delete_block β stop waiting for a file lock β¨
β¨ SYNOPSIS β¨
int locks_delete_block (struct file_lock *waiter );
π ARGUMENTS π
waiterβ the lock which was waiting π like, the lock thatβs been sitting there waiting its turn.
π DESCRIPTION π
so hereβs the tea, bestie: lockd/nfsd need to disconnect the lock while working on it π«Ά thatβs the whole vibe β this is the βstop waiting for a file lockβ situation, fr fr.
π¦ SEE ALSO π¦
the kernel file ./fs/locks.c is linked, and these are the SEE ALSO besties:
locks_owner_has_blockers(9)lease_open_conflict(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)locks_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)
mwah π this cutie comes from ./fs, dated October 2026, and yes bestie β itβs still locks_delete_block(9) π
π¦ 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