HomeFreeBSD

getblk: Remove a non-sensical LK_NOWAIT | LK_SLEEPFAIL

Description

getblk: Remove a non-sensical LK_NOWAIT | LK_SLEEPFAIL

No functional change.

LK_SLEEPFAIL implies a behavior that is only possible if the lock operation can
sleep. LK_NOWAIT prevents the lock operation from sleeping.

Discussed with: kib

Details

Provenance
cemAuthored on
Parents
rS363721: getblk: Avoid sleeping on wrong buf in lockless path
Branches
Unknown
Tags
Unknown