try_break_deleg(9)
okay bestie, welcome to try_break_deleg(9) from the Kernel API Manual β this is your lil' non-blocking delegation-break era β¨
π NAME π
try_break_deleg β do a non-blocking delegation break
π¦ SYNOPSIS π¦
int try_break_deleg (struct inode *inode , unsigned int flags , struct delegated_inode *di );
πΈ ARGUMENTS πΈ
inodeβ the inode that should have its delegations broken, bestie.flagsβ extraLEASE_BREAK_*flags to pass tobreak_deleg. iconic.diβ returns a pointer to the delegated inode (may beNULL). no pressure.
β¨ DESCRIPTION β¨
okay so the whole plot here is breaking delegations in a non-blocking fashion π
If there are outstanding delegations and di is set, then an extra reference will be taken on inode and di->di_inode will be populated so that it may be waited upon. yep, that's the tea π«
Returns 0 if there is no need to wait or an error. If -EWOULDBLOCK is returned, then di will be populated (if non-NULL). literally the whole status update, no cap β¨
π SEE ALSO π
- Kernel file
./include/linux/filelock.hβ go read it, iykyk π
mwah π β this page is from source/version ./include/linux, dated October 2026, and the main character is try_break_deleg(9). periodt π
π¦ 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