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 Jul 31 2020, 12:13 AM
Parents
rG59d13f615418: getblk: Avoid sleeping on wrong buf in lockless path
Branches
Unknown
Tags
Unknown

Event Timeline