]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
getblk: Remove a non-sensical LK_NOWAIT | LK_SLEEPFAIL
authorcem <cem@FreeBSD.org>
Fri, 31 Jul 2020 00:13:40 +0000 (00:13 +0000)
committercem <cem@FreeBSD.org>
Fri, 31 Jul 2020 00:13:40 +0000 (00:13 +0000)
commit39200cc30e9c3e1d559fc8dc61e0d3a078185f43
tree35cb93c1a4fb981aaffc6d1fed6e66f5cd2cc7b7
parentb07ca90399c5e40d40fe2c2d036dce256a61df88
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
sys/kern/vfs_bio.c