Sign in
android-kvm
/
linux
/
d8e45f2929b94099913eb66c3ebb18b5063e9421
/
.
/
fs
/
bcachefs
/
two_state_shared_lock.c
blob: 9764c2e6a9102658c2bc8181d82790070c2001a9 [
file
] [
log
] [
blame
]
// SPDX-License-Identifier: GPL-2.0
#include
"two_state_shared_lock.h"
void
__bch2_two_state_lock
(
two_state_lock_t
*
lock
,
int
s
)
{
__wait_event
(
lock
->
wait
,
bch2_two_state_trylock
(
lock
,
s
));
}